IVersionConverter<T> Interface

Summary

Converts GitVersionVariables to a specific output format (e.g. JSON, environment variables, build-server properties).
Namespace
GitVersion
Interfaces
  • IDisposable
graph BT Type-.->Interface0["IDisposable"] Type["IVersionConverter<T>"] class Type type-node

Syntax

public interface IVersionConverter<in T> : IDisposable where T : IConverterContext

Type Parameters

Name Description
T

Methods

Name Value Summary
Execute(GitVersionVariables, T) void
Performs the conversion of variables using the supplied context.

Extension Methods

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