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

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
GitHub