Unique |
public readonly struct UniqueId : IComparable<UniqueId>, IEquatable<UniqueId>
The UniqueId type exposes the following members.
Name | Description | |
---|---|---|
UniqueId(UInt32) | Initializes a new instance of the UniqueId struct. | |
UniqueId(UInt32, UInt32) | Initializes a new instance of the UniqueId struct. |
Name | Description | |
---|---|---|
Id | Gets the identifier. | |
IsValid | Gets whether or not the unique identifier is valid. | |
Validity | Gets the validity, if non-zero. |
Name | Description | |
---|---|---|
CompareTo | Compares two UniqueId objects. | |
Equals(Object) |
Determines whether the specified Object is equal to the current UniqueId.
(Overrides ValueTypeEquals(Object)) | |
Equals(UniqueId) | Determines whether the specified UniqueId is equal to the current UniqueId. | |
GetHashCode |
Serves as a hash function for a UniqueId object.
(Overrides ValueTypeGetHashCode) | |
GetType | (Inherited from Object) | |
Parse(String) | Parse a unique identifier. | |
Parse(String, UInt32) | Parse a unique identifier. | |
ToString |
Returns a String that represents the current UniqueId.
(Overrides ValueTypeToString) | |
TryParse(String, UniqueId) | Attempt to parse a unique identifier. | |
TryParse(String, UInt32, UniqueId) | Attempt to parse a unique identifier. |
Name | Description | |
---|---|---|
Equality(UniqueId, UniqueId) | Determines whether two unique identifiers are equal. | |
GreaterThan(UniqueId, UniqueId) | Determines whether one unique identifier is greater than another unique identifier. | |
GreaterThanOrEqual(UniqueId, UniqueId) | Determines whether one unique identifier is greater than or equal to another unique identifier. | |
Inequality(UniqueId, UniqueId) | Determines whether two unique identifiers are not equal. | |
LessThan(UniqueId, UniqueId) | Determines whether one unique identifier is less than another unique identifier. | |
LessThanOrEqual(UniqueId, UniqueId) | Determines whether one unique identifier is less than or equal to another unique identifier. |
Name | Description | |
---|---|---|
Invalid | The invalid UniqueId value. | |
MaxValue | The maximum UniqueId value. | |
MinValue | The minimum UniqueId value. |