Class Environment.ReferenceVersion
Inheritance
System.Object
Environment.ReferenceVersion
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Experior.Core.dll
Syntax
public sealed class ReferenceVersion : IComparable<Environment.ReferenceVersion>
Constructors
ReferenceVersion(Int32, Int32, Int32)
Declaration
public ReferenceVersion(int major, int minor, int build)
Parameters
Type |
Name |
Description |
System.Int32 |
major |
|
System.Int32 |
minor |
|
System.Int32 |
build |
|
ReferenceVersion(Int32, Int32, Int32, Int32)
Declaration
public ReferenceVersion(int major, int minor, int build, int revision)
Parameters
Type |
Name |
Description |
System.Int32 |
major |
|
System.Int32 |
minor |
|
System.Int32 |
build |
|
System.Int32 |
revision |
|
ReferenceVersion(String)
Declaration
public ReferenceVersion(string version)
Parameters
Type |
Name |
Description |
System.String |
version |
A string containing the major, minor, build, and revision numbers, where each number is delimited with a period character ('.').
|
ReferenceVersion(Version)
Declaration
public ReferenceVersion(Version version)
Parameters
Type |
Name |
Description |
System.Version |
version |
|
Properties
Build
Declaration
public int Build { get; }
Property Value
Type |
Description |
System.Int32 |
|
Major
Declaration
public int Major { get; }
Property Value
Type |
Description |
System.Int32 |
|
Minor
Declaration
public int Minor { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
CompareTo(Environment.ReferenceVersion)
Declaration
public int CompareTo(Environment.ReferenceVersion other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Equality(Environment.ReferenceVersion, Environment.ReferenceVersion)
Declaration
public static bool operator ==(Environment.ReferenceVersion lhs, Environment.ReferenceVersion rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equality(Environment.ReferenceVersion, String)
Declaration
public static bool operator ==(Environment.ReferenceVersion lhs, string rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equality(Environment.ReferenceVersion, Version)
Declaration
public static bool operator ==(Environment.ReferenceVersion lhs, Version rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GreaterThan(Environment.ReferenceVersion, Environment.ReferenceVersion)
Declaration
public static bool operator>(Environment.ReferenceVersion lhs, Environment.ReferenceVersion rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GreaterThan(Environment.ReferenceVersion, String)
Declaration
public static bool operator>(Environment.ReferenceVersion lhs, string rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GreaterThan(Environment.ReferenceVersion, Version)
Declaration
public static bool operator>(Environment.ReferenceVersion lhs, Version rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GreaterThanOrEqual(Environment.ReferenceVersion, Environment.ReferenceVersion)
Declaration
public static bool operator >=(Environment.ReferenceVersion lhs, Environment.ReferenceVersion rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GreaterThanOrEqual(Environment.ReferenceVersion, String)
Declaration
public static bool operator >=(Environment.ReferenceVersion lhs, string rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GreaterThanOrEqual(Environment.ReferenceVersion, Version)
Declaration
public static bool operator >=(Environment.ReferenceVersion lhs, Version rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(Environment.ReferenceVersion, Environment.ReferenceVersion)
Declaration
public static bool operator !=(Environment.ReferenceVersion lhs, Environment.ReferenceVersion rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(Environment.ReferenceVersion, String)
Declaration
public static bool operator !=(Environment.ReferenceVersion lhs, string rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(Environment.ReferenceVersion, Version)
Declaration
public static bool operator !=(Environment.ReferenceVersion lhs, Version rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
LessThan(Environment.ReferenceVersion, Environment.ReferenceVersion)
Declaration
public static bool operator <(Environment.ReferenceVersion lhs, Environment.ReferenceVersion rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
LessThan(Environment.ReferenceVersion, String)
Declaration
public static bool operator <(Environment.ReferenceVersion lhs, string rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
LessThan(Environment.ReferenceVersion, Version)
Declaration
public static bool operator <(Environment.ReferenceVersion lhs, Version rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
LessThanOrEqual(Environment.ReferenceVersion, Environment.ReferenceVersion)
Declaration
public static bool operator <=(Environment.ReferenceVersion lhs, Environment.ReferenceVersion rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
LessThanOrEqual(Environment.ReferenceVersion, String)
Declaration
public static bool operator <=(Environment.ReferenceVersion lhs, string rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
LessThanOrEqual(Environment.ReferenceVersion, Version)
Declaration
public static bool operator <=(Environment.ReferenceVersion lhs, Version rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IComparable<T>