Summary
Base interface for types that describe a version increment: a source
description and the commit that anchors the calculation.
- Namespace
-
GitVersion
.VersionCalculation - Implementing Types
graph BT Type["IBaseVersionIncrement"] class Type type-node
Implementing0["IBaseVersion"]-.->Type click Implementing0
"/api/GitVersion.VersionCalculation/IBaseVersion"
Syntax
public interface IBaseVersionIncrement
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 |
T |
Throws
ArgumentNullException when
value is
null; otherwise returns the
value.
From
CommonExtensions
|