- Namespace
- GitVersion
- Interfaces
-
-
IComparable
<Semantic Version Pre Release Tag> -
IEquatable
<Semantic Version Pre Release Tag>
-
IComparable
- Base Types
-
- IFormattable
graph BT Type-->Base0["IFormattable"]
Type-.->Interface0["IComparable<SemanticVersionPreReleaseTag>"]
Type-.->Interface1["IEquatable<SemanticVersionPreReleaseTag>"]
Type["SemanticVersionPreReleaseTag"] class Type type-node
Syntax
public class SemanticVersionPreReleaseTag : IFormattable,
IComparable<SemanticVersionPreReleaseTag>, IEquatable<SemanticVersionPreReleaseTag>
Constructors
Properties
Name | Value | Summary |
---|---|---|
Name | string | |
Number | long? | |
PromotedFromCommits | bool? |
Methods
Name | Value | Summary |
---|---|---|
CompareTo |
int | |
Equals |
bool | |
Equals |
bool | |
GetHashCode |
int | |
HasTag |
bool | |
Parse |
Semantic |
static
|
ToString |
string | |
ToString |
string | |
ToString |
string |
Default formats:
t - SemVer 2.0 formatted tag [beta.1] l - Legacy SemVer tag with the tag number padded. [beta1] lp - Legacy SemVer tag with the tag number padded. [beta0001]. Can specify an integer to control padding (i.e., lp5) |
Operators
Name | Value | Summary |
---|---|---|
implicit operator
|
Semantic |
|
implicit operator string |
string | |
operator != |
bool | |
operator
|
bool | |
operator
|
bool | |
operator == |
bool | |
operator > |
bool | |
operator > |
bool |
Extension Methods
Name | Value | Summary |
---|---|---|
GetProperties |
IEnumerable |
From
ObjectExtensions
|
NotNull |
T |
From
CommonExtensions
|