Summary
Pairs a parsed
SemanticVersion with the ITag it was extracted from.- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
- Interfaces
-
- IComparable
<Semantic Version >With Tag - IEquatable
<Semantic Version >With Tag
- IComparable
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IComparable<SemanticVersionWithTag>"]
Type-.->Interface1["IEquatable<SemanticVersionWithTag>"]
Type["SemanticVersionWithTag"]
class Type type-node
Syntax
public sealed class SemanticVersionWithTag : IComparable<SemanticVersionWithTag>,
IEquatable<SemanticVersionWithTag>
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
| Name | Summary |
|---|---|
| Semantic | Pairs a parsed SemanticVersion with the ITag it was extracted from. |
Methods
| Name | Value | Summary |
|---|---|---|
| CompareTo |
int |
Compares this instance to other by semantic version.
|
| Deconstruct |
void | |
| Equals |
bool | |
| Equals |
bool | |
| get_Tag |
ITag | |
| get_Value |
SemanticVersion | |
| GetHashCode |
int | |
| set_Tag |
||
| set_Value |
||
| ToString |
string |
Returns a human-readable representation showing the tag, its commit, and the parsed version.
|
Operators
| Name | Value | Summary |
|---|---|---|
| operator != |
bool | |
| operator |
bool | |
| operator |
bool | |
| operator == |
bool | |
| operator > |
bool | |
| operator > |
bool |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|