IGitVersionContextFactory Interface

Summary

Creates a GitVersionContext for the current repository and branch.
Assembly
GitVersion.Core.dll
Namespace
GitVersion
graph BT Type["IGitVersionContextFactory"] class Type type-node

Syntax

public interface IGitVersionContextFactory

Attributes

Type Description
NullableContextAttribute

Methods

Name Value Summary
Create() GitVersionContext
Builds and returns the GitVersionContext for the current execution.

Extension Methods

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