Summary
Implements a strategy for discovering candidate base versions from a specific source (e.g. tags, branch names, merge messages).
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.VersionCalculation
graph BT
Type["IVersionStrategy"]
class Type type-node
Syntax
public interface IVersionStrategy
Attributes
| Type | Description |
|---|---|
| Nullable |
Methods
| Name | Value | Summary |
|---|---|---|
| GetBaseVersions |
IEnumerable |
Returns the candidate base versions found by this strategy for the given branch configuration.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|