Click or drag to resize

YVersion Methods

The YVersion type exposes the following members.

Methods
  Name Description
Public method CompareTo Compare the current YVersion to obj and returns the diference between them.
Public method Static member Comparison Compare two YVersion and returns the diference between them.
Public method Equals Check if the current YVersion equals to obj.
(Overrides ObjectEquals(Object))
Public method GetHashCode Serves as the default hash function.
(Overrides ObjectGetHashCode)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method IsValid Check if the current version is a valid and non-null version.
Public method Static member IsValid(String) Check if the given version is a valid and non-null version.
Public method ToString Get the string format of the YVersion according to the Full format.
(Overrides ObjectToString)
Public method ToString(String) Get the string format of the YVersion according to the given format.
  • M for Major.
  • m for Minor.
  • b for Build.
  • r for Revision.
Public method ToString(YVersionFormat) Get the string format of the YVersion according to the given format.
Top
Extension Methods
  Name Description
Public Extension Method GetMD5HashCode Get the MD5 Hash code of an Objectobj as a string.
(Defined by YObjectExtentionMethods)
Public Extension Method SerializeObject Serialize an ObjecttoSerialize.
(Defined by YSerializationCenter)
Top
See Also