public class DefinitionVersion : IComparable<DefinitionVersion>,
IEquatable<DefinitionVersion>| DefinitionVersion | Constructor that takes in a version string (e.g. 1.2) and parses it for the Major, Minor |
| MajorVersion | Major Version number. Representing significant changes to the code. |
| MinorVersion | Minor Version number. Representing new features to the code. |
| CompareTo | Returns -1 if this instance precedes other. Returns 0 if this instance is equal to other. Returns 1 if this instance follows other, or other is null |
| Equals(DefinitionVersion) | Returns true if this instance is equal to the passed in other DefinitionVersion |
| Equals(Object) |
Equals operator
(Overrides ObjectEquals(Object)) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetAsMostRecentMajorVersion | Helper method. Returns a string version value n.0, where n is the MajorVersion value. Which is code for the most recent major version. |
| GetAsMostRecentVersion | Helper method. Returns a constant string version 0.0, which is the code for the most recent version overall of a Definition. |
| GetHashCode |
Returns a has code of the ToString() value.
(Overrides ObjectGetHashCode) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString |
Returns a string in the form x.y.z.b
Or x.y.z
(Overrides ObjectToString) |
| Equality(DefinitionVersion, DefinitionVersion) | Equality operator |
| GreaterThan(DefinitionVersion, DefinitionVersion) | Greater than operator |
| GreaterThanOrEqual(DefinitionVersion, DefinitionVersion) | Greater than or equal operator |
| Inequality(DefinitionVersion, DefinitionVersion) | Inequality operator |
| LessThan(DefinitionVersion, DefinitionVersion) | Less than operator |
| LessThanOrEqual(DefinitionVersion, DefinitionVersion) | Less than or equal operator |