SemanticVersionBuildMetaData Class

Namespace
GitVersion
Interfaces
Base Types
  • IFormattable
graph BT Type-->Base0["IFormattable"] Type-.->Interface0["IEquatable<SemanticVersionBuildMetaData>"] Type["SemanticVersionBuildMetaData"] class Type type-node

Syntax

public class SemanticVersionBuildMetaData : IFormattable, IEquatable<SemanticVersionBuildMetaData>

Constructors

Fields

Name Constant Value Summary
Empty
static

Properties

Name Value Summary
Branch string
CommitDate DateTimeOffset?
CommitsSinceTag long?
CommitsSinceVersionSource long
OtherMetaData string
Sha string
ShortSha string
UncommittedChanges long
VersionSourceSha string

Methods

Name Value Summary
Equals(object) bool
Equals(SemanticVersionBuildMetaData) bool
GetHashCode() int
Parse(string) SemanticVersionBuildMetaData
static
ToString() string
ToString(string, IFormatProvider?) string

b - Formats just the build number

s - Formats the build number and the Git Sha

f - Formats the full build metadata

ToString(string) string

Operators

Name Value Summary
implicit operator SemanticVersionBuildMetaData(string) SemanticVersionBuildMetaData
implicit operator string(SemanticVersionBuildMetaData) string
operator !=(SemanticVersionBuildMetaData, SemanticVersionBuildMetaData) bool
operator ==(SemanticVersionBuildMetaData, SemanticVersionBuildMetaData) bool

Extension Methods

GitHub