프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Default | System.Guid | ||
GregorianCalendarStart | DateTime |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
CreateNodeId ( ) : byte[] |
Creates a node unique identifier.
|
|
TimeGuid ( ) : System |
Initializes the TimeGuid class.
|
public static GenerateTimeBasedGuid ( ) : System.Guid | ||
리턴 | 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. |
리턴 | 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 /// |
리턴 | Guid |
public static GetDateTime ( this guid ) : DateTime | ||
guid | this | The unique identifier. |
리턴 | DateTime |