Class IdentifierService
Provides a method to create a new universally unique identifier, to be
assigned to an IVersionable item. The default implementation
simply uses Guid.NewGuid(), but this may be overridden to taste by
implementing an IIdentifierService Addin.
Inherited Members
Namespace: Algenta.Colectica.Model
Assembly: Algenta.Colectica.Model.dll
Syntax
public static class IdentifierService
Methods
GetNewIdentifier()
Creates a new universally unique identifier.
Declaration
public static Guid GetNewIdentifier()
Returns
| Type | Description |
|---|---|
| Guid | A universally unique identifier. |
GetNewIdentifier(string)
Creates a new universally unique identifier using a string context.
Declaration
public static Guid GetNewIdentifier(string context)
Parameters
| Type | Name | Description |
|---|---|---|
| string | context |
Returns
| Type | Description |
|---|---|
| Guid | A universally unique identifier. |