MajorMinorVersion Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a version with two components, a major (most-significant) component, and a minor (least-significant) component.
[Orleans.GenerateSerializer]
[Orleans.Immutable]
[System.Serializable]
public readonly struct MajorMinorVersion : IComparable<Orleans.Metadata.MajorMinorVersion>, IEquatable<Orleans.Metadata.MajorMinorVersion>
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
[<System.Serializable>]
type MajorMinorVersion = struct
Public Structure MajorMinorVersion
Implements IComparable(Of MajorMinorVersion), IEquatable(Of MajorMinorVersion)
- Inheritance
-
MajorMinorVersion
- Attributes
- Implements
Constructors
MajorMinorVersion(Int64, Int64) |
Initializes a new instance of the MajorMinorVersion struct. |
Properties
Major |
Gets the most significant version component. |
Minor |
Gets the least significant version component. |
MinValue |
Gets the minimum value. |
Zero |
Gets the zero value. |
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. |
GetHashCode() | Returns the hash code for this instance. |
Parse(String) |
Parses a MajorMinorVersion. |
ToString() | Returns the fully qualified type name of this instance. |
Operators
Equality(MajorMinorVersion, MajorMinorVersion) |
Compares the provided operands for equality. |
GreaterThan(MajorMinorVersion, MajorMinorVersion) |
Compares the provided operands and returns |
GreaterThanOrEqual(MajorMinorVersion, MajorMinorVersion) |
Compares the provided operands and returns |
Inequality(MajorMinorVersion, MajorMinorVersion) |
Compares the provided operands for inequality. |
LessThan(MajorMinorVersion, MajorMinorVersion) |
Compares the provided operands and returns |
LessThanOrEqual(MajorMinorVersion, MajorMinorVersion) |
Compares the provided operands and returns |