SemanticVersionPreReleaseTag Class

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

Syntax

public class SemanticVersionPreReleaseTag : IFormattable, 
    IComparable<SemanticVersionPreReleaseTag>, IEquatable<SemanticVersionPreReleaseTag>

Constructors

Properties

Name Value Summary
Name string
Number long?
PromotedFromCommits bool?

Methods

Name Value Summary
CompareTo(SemanticVersionPreReleaseTag) int
Equals(object) bool
Equals(SemanticVersionPreReleaseTag) bool
GetHashCode() int
HasTag() bool
Parse(string) SemanticVersionPreReleaseTag
static
ToString() string
ToString(string) string
ToString(string, IFormatProvider?) string
Default formats:

t - SemVer 2.0 formatted tag [beta.1]

l - Legacy SemVer tag with the tag number padded. [beta1]

lp - Legacy SemVer tag with the tag number padded. [beta0001]. Can specify an integer to control padding (i.e., lp5)

Operators

Name Value Summary
implicit operator SemanticVersionPreReleaseTag(string) SemanticVersionPreReleaseTag
implicit operator string(SemanticVersionPreReleaseTag) string
operator !=(SemanticVersionPreReleaseTag, SemanticVersionPreReleaseTag) bool
operator <(SemanticVersionPreReleaseTag, SemanticVersionPreReleaseTag) bool
operator <=(SemanticVersionPreReleaseTag, SemanticVersionPreReleaseTag) bool
operator ==(SemanticVersionPreReleaseTag, SemanticVersionPreReleaseTag) bool
operator >(SemanticVersionPreReleaseTag, SemanticVersionPreReleaseTag) bool
operator >=(SemanticVersionPreReleaseTag, SemanticVersionPreReleaseTag) bool

Extension Methods

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