Daniel's XL Toolbox NG
XLToolbox.Versioning.SemanticVersion Class Reference
Inheritance diagram for XLToolbox.Versioning.SemanticVersion:
Collaboration diagram for XLToolbox.Versioning.SemanticVersion:

Public Member Functions

 SemanticVersion (string version)
 
- Public Member Functions inherited from Bovender.Versioning.SemanticVersion
 SemanticVersion (string version)
 Instantiates the class from a given version string. More...
 
 SemanticVersion ()
 
int CompareTo (object obj)
 
override bool Equals (object obj)
 
override string ToString ()
 Returns the full version string. More...
 
override int GetHashCode ()
 
 SemanticVersion (string version)
 Instantiates the class from a given version string. More...
 
 SemanticVersion ()
 
int CompareTo (object obj)
 
override bool Equals (object obj)
 
override string ToString ()
 Returns the full version string. More...
 
override int GetHashCode ()
 

Properties

static SemanticVersion Current [get]
 
string BrandName [get]
 
- Properties inherited from Bovender.Versioning.SemanticVersion
int Major [get, set]
 
int Minor [get, set]
 
int Patch [get, set]
 
Prerelease Prerelease [get, set]
 
int PreMajor [get, set]
 
int PreMinor [get, set]
 
int PrePatch [get, set]
 
string Build [get, set]
 

Additional Inherited Members

- Static Public Member Functions inherited from Bovender.Versioning.SemanticVersion
static SemanticVersion CurrentVersion ()
 Factory method that creates an instance of the Version class with the current version information, which must be contained in a file called "VERSION" on the root level of the current entry assembly. More...
 
static SemanticVersion CurrentVersion (Assembly assembly)
 Factory method that creates an instance of the Version class with the current version information, which must be contained in a file called "VERSION" that is built as an embedded resource. The first embedded "RESOURCE" file that is found in all the namespaces of assembly will be used. More...
 
static bool operator< (SemanticVersion lower, SemanticVersion higher)
 
static bool operator> (SemanticVersion higher, SemanticVersion lower)
 
static bool operator<= (SemanticVersion lower, SemanticVersion higher)
 
static bool operator>= (SemanticVersion higher, SemanticVersion lower)
 
static bool operator== (SemanticVersion v1, SemanticVersion v2)
 
static bool operator!= (SemanticVersion v1, SemanticVersion v2)
 
static SemanticVersion CurrentVersion ()
 Factory method that creates an instance of the Version class with the current version information, which must be contained in a file called "VERSION" on the root level of the current entry assembly. More...
 
static SemanticVersion CurrentVersion (Assembly assembly)
 Factory method that creates an instance of the Version class with the current version information, which must be contained in a file called "VERSION" that is built as an embedded resource. The first embedded "RESOURCE" file that is found in all the namespaces of assembly will be used. More...
 
static bool operator< (SemanticVersion lower, SemanticVersion higher)
 
static bool operator> (SemanticVersion higher, SemanticVersion lower)
 
static bool operator<= (SemanticVersion lower, SemanticVersion higher)
 
static bool operator>= (SemanticVersion higher, SemanticVersion lower)
 
static bool operator== (SemanticVersion v1, SemanticVersion v2)
 
static bool operator!= (SemanticVersion v1, SemanticVersion v2)
 
- Protected Member Functions inherited from Bovender.Versioning.SemanticVersion
void ParseString (string s)
 Parses a string that complies with semantic versioning, V. 2. More...
 
void BuildString ()
 
void ParseString (string s)
 Parses a string that complies with semantic versioning, V. 2. More...
 
void BuildString ()
 

Constructor & Destructor Documentation

◆ SemanticVersion()

XLToolbox.Versioning.SemanticVersion.SemanticVersion ( string  version)
inline

Property Documentation

◆ BrandName

string XLToolbox.Versioning.SemanticVersion.BrandName
get

◆ Current

SemanticVersion XLToolbox.Versioning.SemanticVersion.Current
staticget

The documentation for this class was generated from the following file: