- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
- Interfaces
-
- IFormattable
- IEquatable
<Semantic Version >Build Meta Data
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IFormattable"]
Type-.->Interface1["IEquatable<SemanticVersionBuildMetaData>"]
Type["SemanticVersionBuildMetaData"]
class Type type-node
Syntax
public class SemanticVersionBuildMetaData : IFormattable, IEquatable<SemanticVersionBuildMetaData>
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
Fields
| Name | Constant Value | Summary |
|---|---|---|
| Branch | ||
| CommitDate | ||
| CommitsSinceTag | ||
| Commits |
||
| OtherMetaData | ||
| Sha | ||
| ShortSha | ||
| UncommittedChanges | ||
| VersionSourceSha |
Methods
| Name | Value | Summary |
|---|---|---|
| Equals |
bool | |
| Equals |
bool | |
| GetHashCode |
int | |
| Parse |
Semantic |
static
|
| ToString |
string | |
| ToString |
string |
b - Formats just the build number s - Formats the build number and the Git Sha f - Formats the full build metadata p - Formats the padded build number. Can specify an integer for padding, default is 4. (i.e., p5) |
| ToString |
string |
Operators
| Name | Value | Summary |
|---|---|---|
| implicit operator |
Semantic |
|
| implicit operator string |
string | |
| operator != |
bool | |
| operator == |
bool |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| GetProperties |
IEnumerable |
From ObjectExtensions
|
| NotNull |
T |
From CommonExtensions
|