Struct ObjectUniqueId
Implements object unique id.
public readonly struct ObjectUniqueId : IEquatable<ObjectUniqueId>
- Implements
Constructors
- ObjectUniqueId()
Initializes a new instance of the ObjectUniqueId struct.
- ObjectUniqueId(Guid)
Initializes a new instance of the ObjectUniqueId class using the specified GUID. You should normally use the parameterless constructor.
- ObjectUniqueId(ulong)
Initializes a new instance of the ObjectUniqueId struct using the specified integer identifier. You should normally use the parameterless constructor.
- ObjectUniqueId(ref ulong)
Initializes a new instance of the ObjectUniqueId struct using the specified reference to the counter variable. You should normally use the parameterless constructor.
Methods
- Equals(ObjectUniqueId)
Indicates whether the current object is equal to another object of the same type.
- Equals(object?)
Indicates whether the current object is equal to another object.
- FromString(string?)
Converts a string representation of an object unique identifier into an ObjectUniqueId. instance.
- GetHashCode()
Returns the hash code of this instance.
- ToString()
Returns a string that represents the current object.
Operators
- operator ==(ObjectUniqueId, ObjectUniqueId)
Tests whether two ObjectUniqueId objects are equal.
- operator !=(ObjectUniqueId, ObjectUniqueId)
Tests whether two ObjectUniqueId objects are not equal.