- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
- Interfaces
-
- IFormattable
- IComparable
<Semantic Version >Pre Release Tag - IEquatable
<Semantic Version >Pre Release Tag
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IFormattable"]
Type-.->Interface1["IComparable<SemanticVersionPreReleaseTag>"]
Type-.->Interface2["IEquatable<SemanticVersionPreReleaseTag>"]
Type["SemanticVersionPreReleaseTag"]
class Type type-node
Syntax
public class SemanticVersionPreReleaseTag : IFormattable,
IComparable<SemanticVersionPreReleaseTag>, IEquatable<SemanticVersionPreReleaseTag>
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
Properties
| Name | Value | Summary |
|---|---|---|
| Name | string | |
| Number | Nullable |
|
| PromotedFromCommits | Nullable |
Methods
| Name | Value | Summary |
|---|---|---|
| CompareTo |
int | |
| Equals |
bool | |
| Equals |
bool | |
| GetHashCode |
int | |
| HasTag |
bool | |
| Parse |
Semantic |
static
|
| 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) |
| ToString |
string |
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
|