Property | Type | Description | |
---|---|---|---|
Default | System.Guid | ||
GregorianCalendarStart | DateTime |
Method | Description | |
---|---|---|
GenerateTimeBasedGuid ( ) : System.Guid |
Generates a time based unique identifier, set to the current time.
|
|
GenerateTimeBasedGuid ( long time, int sequence, byte nodeId ) : System.Guid |
Generates a time based unique identifier.
|
|
GenerateTimeBasedGuid ( this dateTime, byte node = null ) : Guid |
Generates a time based unique identifier.
|
|
GetDateTime ( this guid ) : DateTime |
Gets the date time from the provided Guid.
|
Method | Description | |
---|---|---|
CreateNodeId ( ) : byte[] |
Creates a node unique identifier.
|
|
TimeGuid ( ) : System |
Initializes the TimeGuid class.
|
public static GenerateTimeBasedGuid ( ) : System.Guid | ||
return | System.Guid |
public static GenerateTimeBasedGuid ( long time, int sequence, byte nodeId ) : System.Guid | ||
time | long | The time, being the number of 100ns intervals since Gregorian Calendar start |
sequence | int | The sequence, or clockId. |
nodeId | byte | The node unique identifier. |
return | System.Guid |
public static GenerateTimeBasedGuid ( this dateTime, byte node = null ) : Guid | ||
dateTime | this | The date time. |
node | byte | /// The node. Must either be null or a 6 byte array. When set to null (recommended), a random node id /// will be provided /// |
return | Guid |
public static GetDateTime ( this guid ) : DateTime | ||
guid | this | The unique identifier. |
return | DateTime |