MembershipVersion
struct
Namespace: Orleans.Runtime
Identifies the version of a cluster membership configuration.
[Orleans.GenerateSerializer][Orleans.Immutable][System.Text.Json.Serialization.JsonConverter(Orleans.Runtime.MembershipVersionConverter)]public readonly struct MembershipVersion : IComparable<MembershipVersion>, IEquatable<MembershipVersion>, IFormattable, ISpanFormattableConstructors
MembershipVersion(long)Initializes a new instance of theMembershipVersionstruct.
Properties
Methods
CompareTo(MembershipVersion)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(MembershipVersion)Indicates whether the current object is equal to another object of the same type.Equals(object?)Indicates whether this instance and a specified object are equal.GetHashCodeReturns the hash code for this instance.ToStringReturns the fully qualified type name of this instance.operator ==(MembershipVersion, MembershipVersion)Compares the provided operands for equality.operator >(MembershipVersion, MembershipVersion)Compares the provided operands and returnstrueif the left operand is greater than the right operand, otherwisefalse.operator >=(MembershipVersion, MembershipVersion)Compares the provided operands and returnstrueif the left operand is greater than or equal to the right operand, otherwisefalse.operator !=(MembershipVersion, MembershipVersion)Compares the provided operands for inequality.operator <(MembershipVersion, MembershipVersion)Compares the provided operands and returnstrueif the left operand is less than the right operand, otherwisefalse.operator <=(MembershipVersion, MembershipVersion)Compares the provided operands and returnstrueif the left operand is less than or equal to the right operand, otherwisefalse.
