-
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 :
System.ICloneable,
System.IComparable,
System.IComparable<AlphanumericVersion>,
#if PREVIEW
System.IEqualityOperators<AlphanumericVersion, AlphanumericVersion>,
#endif
System.IEquatable<AlphanumericVersion>,
#if PREVIEW
System.IParseable<AlphanumericVersion>,
#endif
System.Collections.IStructuralComparable,
System.Collections.IStructuralEquatableConstructors
Clone()
CompareTo(AlphanumericVersion)
Equals(AlphanumericVersion)
Parse(System.String)
Parse(System.String, System.IFormatProvider)
TryParse(System.String, out AlphanumericVersion)
TryParse(System.String, System.IFormatProvider, out AlphanumericVersion)
Build
Major
Minor
Revision
AlphanumericVersion(System.Int64 or System.String, [System.Int64 or System.String], [System.Int64 or System.String], [System.Int64 or System.String])
Since the AlphanumericVersion can by it's nature also represent a System.Version, it's constructors will accept either an System.Int64 or a System.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 System.ICloneable.
public System.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 System.IComparable<T>.
public System.Int32 CompareTo(AlphanumericVersion);Indicates whether the current object is equal to another object of the same type.
Inherited from IEquatable<T>.
public System.Boolean Equals(AlphanumericVersion);Parses the specified string into a new AlphanumericVersion instance.
Inherited from System.IParseable<T>.
public static AlphanumericVersion Parse(System.String);Parses the specified string into a new AlphanumericVersion instance.
Inherited from System.IParseable<T>.
public static AlphanumericVersion Parse(System.String,
System.IFormatProvider);Parses the specified string into a new AlphanumericVersion instance.
Inherited from System.IParseable<T>.
public static System.Boolean TryParse(System.String,
out AlphanumericVersion);Parses the specified string into a new AlphanumericVersion instance.
Inherited from System.IParseable<T>.
public static System.Boolean TryParse(System.String,
System.IFormatProvider,
out AlphanumericVersion);Gets the third (3.) value of the version, commonly reffered to as "build"-number.
public System.String Build { get; }Gets the first (1.) value of the version, commonly reffered to as "major"-number.
public System.String Major { get; }Gets the second (2.) value of the version, commonly reffered to as "minor"-number.
public System.String Minor { get; }Gets the fourth (4.) value of the version, commonly reffered to as "revision"-number.
public System.String Revision { get; }