VersionExtensions Class
Namespace: Nucleus.Extensions
Assembly: Nucleus.Extensions.dll
Extensions for the System.Version class.
Methods
IsLessThan
(Version,String) Method
IsLessThan (Version version, String compareToVersion)
Returns a valid indicating whether the specified string represents a version which is less than this version.
IsGreaterThan
(Version,String) Method
IsGreaterThan (Version version, String compareToVersion)
Returns a valid indicating whether the specified string represents a version which is greater than this version.
ZeroUndefinedElements
(Version) Method
ZeroUndefinedElements (Version version)
Replace version elements which have been set to -1 with zero, so that comparisons work properly