SemanticVersionWithTag Class

Summary

Pairs a parsed SemanticVersion with the ITag it was extracted from.
Assembly
GitVersion.Core.dll
Namespace
GitVersion
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IComparable<SemanticVersionWithTag>"] Type-.->Interface1["IEquatable<SemanticVersionWithTag>"] Type["SemanticVersionWithTag"] class Type type-node

Syntax

public sealed class SemanticVersionWithTag : IComparable<SemanticVersionWithTag>, 
    IEquatable<SemanticVersionWithTag>

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
SemanticVersionWithTag(SemanticVersion, ITag) Pairs a parsed SemanticVersion with the ITag it was extracted from.

Methods

Name Value Summary
CompareTo(SemanticVersionWithTag) int
Compares this instance to other by semantic version.
Deconstruct(SemanticVersion, ITag) void
Equals(object) bool
Equals(SemanticVersionWithTag) bool
get_Tag() ITag
get_Value() SemanticVersion
GetHashCode() int
set_Tag()
set_Value()
ToString() string
Returns a human-readable representation showing the tag, its commit, and the parsed version.

Operators

Name Value Summary
operator !=(SemanticVersionWithTag, SemanticVersionWithTag) bool
operator <(SemanticVersionWithTag, SemanticVersionWithTag) bool
operator <=(SemanticVersionWithTag, SemanticVersionWithTag) bool
operator ==(SemanticVersionWithTag, SemanticVersionWithTag) bool
operator >(SemanticVersionWithTag, SemanticVersionWithTag) bool
operator >=(SemanticVersionWithTag, SemanticVersionWithTag) bool

Extension Methods

Name Value Summary
NotNull<SemanticVersionWithTag>(string) T
Throws System.ArgumentNullException when value is null; otherwise returns the value.