graph BT Type-->Base0["IFormattable"]
Type-.->Interface0["IComparable<SemanticVersion>"]
Type-.->Interface1["IEquatable<SemanticVersion>"]
Type["SemanticVersion"] class Type type-node
Syntax
public class SemanticVersion : IFormattable, IComparable<SemanticVersion>,
IEquatable<SemanticVersion>
Constructors
Fields
| Name |
Constant Value |
Summary |
|
Empty
|
|
static
|
Properties
Methods
| Name |
Value |
Summary |
|
CompareTo(SemanticVersion, bool)
|
int |
|
|
CompareTo(SemanticVersion)
|
int |
|
|
Equals(object)
|
bool |
|
|
Equals(SemanticVersion)
|
bool |
|
|
GetHashCode()
|
int |
|
|
Increment(VersionField, string,
bool, SemanticVersion[])
|
SemanticVersion
|
|
|
Increment(VersionField, string,
SemanticVersion.IncrementMode,
SemanticVersion[])
|
SemanticVersion
|
|
|
Increment(VersionField, string,
SemanticVersion[])
|
SemanticVersion
|
|
|
IsEmpty()
|
bool |
|
|
IsEqualTo(SemanticVersion, bool)
|
bool |
|
|
IsGreaterThan(SemanticVersion, bool)
|
bool |
|
|
IsGreaterThanOrEqualTo(SemanticVersion,
bool)
|
bool |
|
|
IsLabeledWith(string)
|
bool |
|
|
IsLessThan(SemanticVersion, bool)
|
bool |
|
|
IsLessThanOrEqualTo(SemanticVersion,
bool)
|
bool |
|
|
IsMatchForBranchSpecificLabel(string)
|
bool |
|
|
Parse(string, string,
SemanticVersionFormat)
|
SemanticVersion
|
static
|
|
ToString()
|
string |
|
|
ToString(string, IFormatProvider?)
|
string |
s - Default SemVer [1.2.3-beta.4]
f - Full SemVer [1.2.3-beta.4+5]
i - Informational SemVer
[1.2.3-beta.4+5.Branch.main.BranchType.main.Sha.000000]
j - Just the SemVer part [1.2.3]
t - SemVer with the tag [1.2.3-beta.4]
|
|
ToString(string)
|
string |
|
|
TryParse(string, string,
SemanticVersion,
SemanticVersionFormat)
|
bool |
static
|
|
WithLabel(string)
|
SemanticVersion
|
|
Operators
| Name |
Value |
Summary |
|
operator !=(SemanticVersion,
SemanticVersion)
|
bool |
|
|
operator <(SemanticVersion,
SemanticVersion)
|
bool |
|
|
operator <=(SemanticVersion,
SemanticVersion)
|
bool |
|
|
operator ==(SemanticVersion,
SemanticVersion)
|
bool |
|
|
operator >(SemanticVersion,
SemanticVersion)
|
bool |
|
|
operator >=(SemanticVersion,
SemanticVersion)
|
bool |
|
Extension Methods