    

 ## On this page

  

 

 # Class IDGenerator

 Last update: 16.07.2025 

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMAppCore.dll

```csharp
public class IDGenerator

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [IDGenerator](VM.Managed.IDGenerator.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### IDGenerator()

Initializes a new instance of the  class.

```csharp
public IDGenerator()

```

## Methods

### GetNextID()

Get next ID.

```csharp
public Identifier GetNextID()

```

#### Returns

Identifier

### SetNextID(Identifier)

Set next ID.

```csharp
public void SetNextID(Identifier id)

```

#### Parameters

`id` Identifier