BaseVersionOperand Class

Summary

Represents the discovered base version — the semantic version value and the commit it was found at.
Assembly
GitVersion.Core.dll
Namespace
GitVersion.VersionCalculation
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IBaseVersionIncrement"] click Interface0 "/api/GitVersion.VersionCalculation/IBaseVersionIncrement" Type-.->Interface1["IEquatable<BaseVersionOperand>"] Type["BaseVersionOperand"] class Type type-node

Syntax

public sealed class BaseVersionOperand : IBaseVersionIncrement, IEquatable<BaseVersionOperand>

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
BaseVersionOperand() Initializes an empty operand.
BaseVersionOperand(string, SemanticVersion, ICommit) Represents the discovered base version — the semantic version value and the commit it was found at.

Methods

Operators

Name Value Summary
operator !=(BaseVersionOperand, BaseVersionOperand) bool
operator ==(BaseVersionOperand, BaseVersionOperand) bool

Extension Methods

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