![]() |
Paradox Game Engine
v1.0.0 beta06
|
A hybrid implementation of SemVer that supports semantic versioning as described at http://semver.org while not strictly enforcing it to allow older 4-digit versioning schemes to continue working. More...
Classes | |
class | PackageVersionDataSerializer |
Public Member Functions | |
PackageVersion (string version) | |
Initializes a new instance of the PackageVersion class. More... | |
PackageVersion (int major, int minor, int build, int revision) | |
Initializes a new instance of the PackageVersion class. More... | |
PackageVersion (int major, int minor, int build, string specialVersion) | |
Initializes a new instance of the PackageVersion class. More... | |
PackageVersion (Version version) | |
Initializes a new instance of the PackageVersion class. More... | |
PackageVersion (Version version, string specialVersion) | |
Initializes a new instance of the PackageVersion class. More... | |
string[] | GetOriginalVersionComponents () |
int | CompareTo (object obj) |
int | CompareTo (PackageVersion other) |
override string | ToString () |
bool | Equals (PackageVersion other) |
override bool | Equals (object obj) |
override int | GetHashCode () |
Static Public Member Functions | |
static PackageVersion | Parse (string version) |
Parses a version string using loose semantic versioning rules that allows 2-4 version components followed by an optional special version. More... | |
static bool | TryParse (string version, out PackageVersion value) |
Parses a version string using loose semantic versioning rules that allows 2-4 version components followed by an optional special version. More... | |
static bool | TryParseStrict (string version, out PackageVersion value) |
Parses a version string using strict semantic versioning rules that allows exactly 3 components and an optional special version. More... | |
static PackageVersion | ParseOptionalVersion (string version) |
Attempts to parse the version token as a SemanticVersion. More... | |
static bool | operator== (PackageVersion version1, PackageVersion version2) |
static bool | operator!= (PackageVersion version1, PackageVersion version2) |
static bool | operator< (PackageVersion version1, PackageVersion version2) |
static bool | operator<= (PackageVersion version1, PackageVersion version2) |
static bool | operator> (PackageVersion version1, PackageVersion version2) |
static bool | operator>= (PackageVersion version1, PackageVersion version2) |
Properties | |
Version | Version [get, set] |
Gets the normalized version portion. More... | |
string | SpecialVersion [get, set] |
Gets the optional special version. More... | |
A hybrid implementation of SemVer that supports semantic versioning as described at http://semver.org while not strictly enforcing it to allow older 4-digit versioning schemes to continue working.
Definition at line 27 of file PackageVersion.cs.
SiliconStudio.Assets.PackageVersion.PackageVersion | ( | string | version | ) |
Initializes a new instance of the PackageVersion class.
version | The version. |
Definition at line 38 of file PackageVersion.cs.
SiliconStudio.Assets.PackageVersion.PackageVersion | ( | int | major, |
int | minor, | ||
int | build, | ||
int | revision | ||
) |
Initializes a new instance of the PackageVersion class.
major | The major. |
minor | The minor. |
build | The build. |
revision | The revision. |
Definition at line 53 of file PackageVersion.cs.
SiliconStudio.Assets.PackageVersion.PackageVersion | ( | int | major, |
int | minor, | ||
int | build, | ||
string | specialVersion | ||
) |
Initializes a new instance of the PackageVersion class.
major | The major. |
minor | The minor. |
build | The build. |
specialVersion | The special version. |
Definition at line 65 of file PackageVersion.cs.
SiliconStudio.Assets.PackageVersion.PackageVersion | ( | Version | version | ) |
Initializes a new instance of the PackageVersion class.
version | The version. |
Definition at line 74 of file PackageVersion.cs.
SiliconStudio.Assets.PackageVersion.PackageVersion | ( | Version | version, |
string | specialVersion | ||
) |
Initializes a new instance of the PackageVersion class.
version | The version. |
specialVersion | The special version. |
Definition at line 84 of file PackageVersion.cs.
int SiliconStudio.Assets.PackageVersion.CompareTo | ( | object | obj | ) |
Definition at line 240 of file PackageVersion.cs.
References SiliconStudio.Core.Reflection.Object.
int SiliconStudio.Assets.PackageVersion.CompareTo | ( | PackageVersion | other | ) |
Definition at line 254 of file PackageVersion.cs.
References SiliconStudio.Core.Reflection.Object.
bool SiliconStudio.Assets.PackageVersion.Equals | ( | PackageVersion | other | ) |
Definition at line 332 of file PackageVersion.cs.
References SiliconStudio.Assets.PackageVersion.Version.
override bool SiliconStudio.Assets.PackageVersion.Equals | ( | object | obj | ) |
Definition at line 339 of file PackageVersion.cs.
override int SiliconStudio.Assets.PackageVersion.GetHashCode | ( | ) |
Definition at line 345 of file PackageVersion.cs.
string [] SiliconStudio.Assets.PackageVersion.GetOriginalVersionComponents | ( | ) |
Definition at line 117 of file PackageVersion.cs.
|
static |
Definition at line 294 of file PackageVersion.cs.
|
static |
Definition at line 299 of file PackageVersion.cs.
|
static |
Definition at line 308 of file PackageVersion.cs.
|
static |
Definition at line 285 of file PackageVersion.cs.
References SiliconStudio.Core.Reflection.Object.
|
static |
Definition at line 313 of file PackageVersion.cs.
|
static |
Definition at line 322 of file PackageVersion.cs.
|
static |
Parses a version string using loose semantic versioning rules that allows 2-4 version components followed by an optional special version.
Definition at line 163 of file PackageVersion.cs.
|
static |
Attempts to parse the version token as a SemanticVersion.
Definition at line 225 of file PackageVersion.cs.
override string SiliconStudio.Assets.PackageVersion.ToString | ( | ) |
Definition at line 327 of file PackageVersion.cs.
|
static |
Parses a version string using loose semantic versioning rules that allows 2-4 version components followed by an optional special version.
Definition at line 181 of file PackageVersion.cs.
Referenced by SiliconStudio.Assets.PackageVersionRange.TryParse().
|
static |
Parses a version string using strict semantic versioning rules that allows exactly 3 components and an optional special version.
Definition at line 189 of file PackageVersion.cs.
|
getset |
Gets the optional special version.
Definition at line 115 of file PackageVersion.cs.
|
getset |
Gets the normalized version portion.
Definition at line 110 of file PackageVersion.cs.
Referenced by SiliconStudio.Assets.PackageVersion.Equals(), and SiliconStudio.Assets.PackageVersionRange.GetSafeRange().