IVariableProvider Interface

Summary

Converts a calculated SemanticVersion into the full set of GitVersionVariables.
graph BT Type["IVariableProvider"] class Type type-node

Syntax

public interface IVariableProvider

Attributes

Type Description
NullableContextAttribute

Methods

Name Value Summary
GetVariablesFor(SemanticVersion, IGitVersionConfiguration, EffectiveConfiguration) GitVersionVariables
Builds and returns all version variables using the effective configuration for the current branch.

Extension Methods

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