Class IgniteProductVersion
Represents node version.
Inheritance
System.Object
IgniteProductVersion
Implements
IComparable<IgniteProductVersion>
Namespace: Apache.Ignite.Core.Common
Assembly: Apache.Ignite.Core.dll
Syntax
public class IgniteProductVersion : IEquatable<IgniteProductVersion>
Constructors
IgniteProductVersion(Byte, Byte, Byte, String, DateTime, Byte[])
Constructor.
Declaration
public IgniteProductVersion(byte major, byte minor, byte maintenance, string stage, DateTime releaseDate, byte[] revHash)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | major | Major version number. |
System.Byte | minor | Minor version number. |
System.Byte | maintenance | Maintenance version number. |
System.String | stage | Stage of development. |
DateTime | releaseDate | Revision date. |
System.Byte[] | revHash | Revision hash. |
Properties
Maintenance
Gets the maintenance version number.
Declaration
public byte Maintenance { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Major
Gets the major version number.
Declaration
public byte Major { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Minor
Gets the minor version number.
Declaration
public byte Minor { get; }
Property Value
Type | Description |
---|---|
System.Byte |
ReleaseDate
Gets the release date.
Declaration
public DateTime ReleaseDate { get; }
Property Value
Type | Description |
---|---|
DateTime |
RevisionHash
Gets the revision hash
Declaration
public byte[] RevisionHash { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Stage
Gets the stage of development.
Declaration
public string Stage { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
CompareTo(IgniteProductVersion)
Declaration
public int CompareTo(IgniteProductVersion other)
Parameters
Type | Name | Description |
---|---|---|
IgniteProductVersion | other |
Returns
Type | Description |
---|---|
System.Int32 |
Equals(IgniteProductVersion)
Declaration
public bool Equals(IgniteProductVersion other)
Parameters
Type | Name | Description |
---|---|---|
IgniteProductVersion | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Implements
IComparable<>