Edytuj

Udostępnij za pośrednictwem


MembershipVersion Struct

Definition

Identifies the version of a cluster membership configuration.

[System.Serializable]
public struct MembershipVersion : IComparable<Orleans.Runtime.MembershipVersion>, IEquatable<Orleans.Runtime.MembershipVersion>
[System.Serializable]
[Orleans.GenerateSerializer]
[Orleans.Immutable]
[System.Text.Json.Serialization.JsonConverter(typeof(Orleans.Runtime.MembershipVersionConverter))]
public readonly struct MembershipVersion : IComparable<Orleans.Runtime.MembershipVersion>, IEquatable<Orleans.Runtime.MembershipVersion>
[<System.Serializable>]
type MembershipVersion = struct
[<System.Serializable>]
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
[<System.Text.Json.Serialization.JsonConverter(typeof(Orleans.Runtime.MembershipVersionConverter))>]
type MembershipVersion = struct
Public Structure MembershipVersion
Implements IComparable(Of MembershipVersion), IEquatable(Of MembershipVersion)
Inheritance
MembershipVersion
Attributes
Implements

Constructors

MembershipVersion(Int64)

Initializes a new instance of the MembershipVersion struct.

Properties

MinValue

Gets the minimum possible version.

Value

Gets the version.

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.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(MembershipVersion, MembershipVersion)

Compares the provided operands for equality.

Explicit(MembershipVersion to Int64)
GreaterThan(MembershipVersion, MembershipVersion)

Compares the provided operands and returns true if the left operand is greater than the right operand, otherwise false.

GreaterThanOrEqual(MembershipVersion, MembershipVersion)

Compares the provided operands and returns true if the left operand is greater than or equal to the right operand, otherwise false.

Inequality(MembershipVersion, MembershipVersion)

Compares the provided operands for inequality.

LessThan(MembershipVersion, MembershipVersion)

Compares the provided operands and returns true if the left operand is less than the right operand, otherwise false.

LessThanOrEqual(MembershipVersion, MembershipVersion)

Compares the provided operands and returns true if the left operand is less than or equal to the right operand, otherwise false.

Applies to