IBaseVersionIncrement Interface

Summary

Base interface for types that describe a version increment: a source description and the commit that anchors the calculation.
graph BT Type["IBaseVersionIncrement"] class Type type-node Implementing0["BaseVersionOperator"]-.->Type click Implementing0 "/api/GitVersion.VersionCalculation/BaseVersionOperator" Implementing1["BaseVersionOperand"]-.->Type click Implementing1 "/api/GitVersion.VersionCalculation/BaseVersionOperand" Implementing2["BaseVersion"]-.->Type click Implementing2 "/api/GitVersion.VersionCalculation/BaseVersion" Implementing3["IBaseVersion"]-.->Type click Implementing3 "/api/GitVersion.VersionCalculation/IBaseVersion"

Syntax

public interface IBaseVersionIncrement

Attributes

Type Description
NullableContextAttribute

Properties

Name Value Summary
BaseVersionSource ICommit
Gets the commit that the base version was derived from, or null when the version has an external source.
Source string
Gets a human-readable description of the strategy or artifact that produced this increment.

Extension Methods

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