SemanticVersionBuildMetaData Class

Assembly
GitVersion.Core.dll
Namespace
GitVersion
Interfaces
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
NullableContextAttribute
NullableAttribute

Constructors

Fields

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

p - Formats the padded build number. Can specify an integer for padding, default is 4. (i.e., p5)

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

Name Value Summary
GetProperties() IEnumerable<KeyValuePair<string, string>>
NotNull<SemanticVersionBuildMetaData>(string) T