For Babelfish Release 1.11.1.3

DefinitionVersion Class

Definition

Namespace: Scopos.BabelFish.DataModel.Definitions
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public class DefinitionVersion : IComparable<DefinitionVersion>, 
	IEquatable<DefinitionVersion>
Inheritance
Object    DefinitionVersion
Implements
IComparableDefinitionVersion, IEquatableDefinitionVersion

Constructors

DefinitionVersion Constructor that takes in a version string (e.g. 1.2) and parses it for the Major, Minor

Properties

MajorVersion Major Version number. Representing significant changes to the code.
MinorVersion Minor Version number. Representing new features to the code.

Methods

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))
FinalizeAllows 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)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates 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)

Operators

See Also