GuidId Class

Definition

A unique identifier based on a Guid.

[Orleans.Concurrency.Immutable]
[System.Serializable]
public sealed class GuidId : IComparable<Orleans.Runtime.GuidId>, IEquatable<Orleans.Runtime.GuidId>, System.Runtime.Serialization.ISerializable
[System.Serializable]
[Orleans.GenerateSerializer]
[Orleans.Immutable]
public sealed class GuidId : IComparable<Orleans.Runtime.GuidId>, IEquatable<Orleans.Runtime.GuidId>, System.Runtime.Serialization.ISerializable
[<Orleans.Concurrency.Immutable>]
[<System.Serializable>]
type GuidId = class
    interface IEquatable<GuidId>
    interface IComparable<GuidId>
    interface ISerializable
[<System.Serializable>]
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
type GuidId = class
    interface IEquatable<GuidId>
    interface IComparable<GuidId>
    interface ISerializable
Public NotInheritable Class GuidId
Implements IComparable(Of GuidId), IEquatable(Of GuidId), ISerializable
Inheritance
GuidId
Attributes
Implements

Fields

Guid

The underlying Guid.

Methods

CompareTo(GuidId)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Equals(GuidId)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines whether the specified object is equal to the current object.

FromParsableString(String)
GetGuidId(Guid)

Returns a GuidId instance corresponding to the provided Guid.

GetHashCode()

Serves as the default hash function.

GetNewGuidId()

Returns a new, randomly generated GuidId.

GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

Populates a SerializationInfo with the data needed to serialize the target object.

SerializeToStream(BinaryTokenStreamWriter)
SerializeToStream(IBinaryTokenStreamWriter)
ToParsableString()
ToString()

Returns a string that represents the current object.

Operators

Equality(GuidId, GuidId)

Compares the provided operands for equality.

Inequality(GuidId, GuidId)

Compares the provided operands for inequality.

Applies to