YVersion Class |
public sealed class YVersion : IComparable
The YVersion type exposes the following members.
Name | Description | |
---|---|---|
![]() | YVersion(String) | Create a new YVersion from the string version. |
![]() | YVersion(Version) | Create a new YVersion from the Versionversion. |
Name | Description | |
---|---|---|
![]() | Build | The Build version number. |
![]() | Major | The Major version number. |
![]() | Minor | The Minor version number. |
![]() | Revision | The Revision version number. |
Name | Description | |
---|---|---|
![]() | CompareTo | Compare the current YVersion to obj and returns the diference between them. |
![]() ![]() | Comparison | Compare two YVersion and returns the diference between them. |
![]() | Equals |
Check if the current YVersion equals to obj.
(Overrides ObjectEquals(Object)) |
![]() | GetHashCode |
Serves as the default hash function.
(Overrides ObjectGetHashCode) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | IsValid | Check if the current version is a valid and non-null version. |
![]() ![]() | IsValid(String) | Check if the given version is a valid and non-null version. |
![]() | ToString |
Get the string format of the YVersion according to the Full format.
(Overrides ObjectToString) |
![]() | ToString(String) |
Get the string format of the YVersion according to the given format.
|
![]() | ToString(YVersionFormat) | Get the string format of the YVersion according to the given format. |
Name | Description | |
---|---|---|
![]() ![]() | Equality(YVersion, YVersion) | Check if version1 is equal to version2. |
![]() ![]() | GreaterThan(YVersion, YVersion) | Check if version1 is greater than version2. |
![]() ![]() | GreaterThanOrEqual(YVersion, YVersion) | Check if version1 is greater or equal than version2. |
![]() ![]() | Inequality(YVersion, YVersion) | Check if version1 is not equal to than version2. |
![]() ![]() | LessThan(YVersion, YVersion) | Check if version1 is lower than version2. |
![]() ![]() | LessThanOrEqual(YVersion, YVersion) | Check if version1 is lower or equal than version2. |
Name | Description | |
---|---|---|
![]() | GetMD5HashCode |
Get the MD5 Hash code of an Objectobj as a string.
(Defined by YObjectExtentionMethods) |
![]() | SerializeObject |
Serialize an ObjecttoSerialize.
(Defined by YSerializationCenter) |