MajorMinorVersion
struct
Namespace: Orleans.Metadata
Represents a version with two components, a major (most-significant) component, and a minor (least-significant) component.
[Orleans.GenerateSerializer][Orleans.Immutable]public readonly struct MajorMinorVersion : IComparable<MajorMinorVersion>, IEquatable<MajorMinorVersion>Constructors
MajorMinorVersion(long, long)Initializes a new instance of theMajorMinorVersionstruct.
Properties
Methods
CompareTo(MajorMinorVersion)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(MajorMinorVersion)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.Parse(string)Parses aMajorMinorVersion.ToStringReturns the fully qualified type name of this instance.operator ==(MajorMinorVersion, MajorMinorVersion)Compares the provided operands for equality.operator >(MajorMinorVersion, MajorMinorVersion)Compares the provided operands and returnstrueif the left operand is greater than the right operand, otherwisefalse.operator >=(MajorMinorVersion, MajorMinorVersion)Compares the provided operands and returnstrueif the left operand is greater than or equal to the right operand, otherwisefalse.operator !=(MajorMinorVersion, MajorMinorVersion)Compares the provided operands for inequality.operator <(MajorMinorVersion, MajorMinorVersion)Compares the provided operands and returnstrueif the left operand is less than the right operand, otherwisefalse.operator <=(MajorMinorVersion, MajorMinorVersion)Compares the provided operands and returnstrueif the left operand is less than or equal to the right operand, otherwisefalse.
