-
Notifications
You must be signed in to change notification settings - Fork 0
AlphanumericVersion
Assembly: Narumikazuchi.dll
Namespace: Narumikazuchi
Represents a version instance that is not limited to numbers but instead allows for alphanumeric characters to be used.
public readonly struct AlphanumericVersion :
ICloneable,
IComparable,
IComparable<AlphanumericVersion>,
#if PREVIEW
IEqualityOperators<AlphanumericVersion, AlphanumericVersion>,
#endif
IEquatable<AlphanumericVersion>,
#if PREVIEW
IParseable<AlphanumericVersion>,
#endif
IStructuralComparable,
IStructuralEquatableConstructors
Clone()
CompareTo(AlphanumericVersion)
Equals(AlphanumericVersion)
Parse(String)
Parse(String, System.IFormatProvider)
TryParse(String, out AlphanumericVersion)
TryParse(String, System.IFormatProvider, out AlphanumericVersion)
Build
Major
Minor
Revision
Since the AlphanumericVersion can by it's nature also represent a System.Version, it's constructors will accept either an Int64 or a String for any of it's 4 parameters in any configuration needed. The output of the ToString() method can also be adjusted by using a specific pattern.
Creates a new object which is an exact copy of this instance.
Inherited from ICloneable.
public Object Clone();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.
Inherited from IComparable<T>.
public Int32 CompareTo(AlphanumericVersion);Indicates whether the current object is equal to another object of the same type.
Inherited from IEquatable<T>.
public Boolean Equals(AlphanumericVersion);Parses the specified string into a new AlphanumericVersion instance.
Inherited from IParseable<T>.
public static AlphanumericVersion Parse(String);Parses the specified string into a new AlphanumericVersion instance.
Inherited from IParseable<T>.
public static AlphanumericVersion Parse(String, System.IFormatProvider);Parses the specified string into a new AlphanumericVersion instance.
Inherited from IParseable<T>.
public static Boolean TryParse(String, out AlphanumericVersion);Parses the specified string into a new AlphanumericVersion instance.
Inherited from IParseable<T>.
public static AlphanumericVersion Parse(String, System.IFormatProvider, out AlphanumericVersion);Gets the third (3.) value of the version, commonly reffered to as "build"-number.
public String Build { get; }Gets the first (1.) value of the version, commonly reffered to as "major"-number.
public String Major { get; }Gets the second (2.) value of the version, commonly reffered to as "minor"-number.
public String Minor { get; }Gets the fourth (4.) value of the version, commonly reffered to as "revision"-number.
public String Revision { get; }