Table of Contents

Class GitVersionBuildOptionsExtensions.GitVersionOptions

Namespace
Invex.Atom.Module.GitVersion.Options
Assembly
Invex.Atom.Module.GitVersion.dll

Provides factories for configuring which build information GitVersion supplies.

public sealed class GitVersionBuildOptionsExtensions.GitVersionOptions
Inheritance
object
GitVersionBuildOptionsExtensions.GitVersionOptions

Constructors

GitVersionOptions()

public GitVersionOptions()

Properties

Instance

Gets the singleton instance of the flags factory.

public static GitVersionBuildOptionsExtensions.GitVersionOptions Instance { get; }

Property Value

GitVersionBuildOptionsExtensions.GitVersionOptions

ProvideBuildId

Gets an option that enables GitVersion as the provider of the build ID.

public GitVersionProvideBuildIdOption ProvideBuildId { get; }

Property Value

GitVersionProvideBuildIdOption

ProvideBuildVersion

Gets an option that enables GitVersion as the provider of the build version.

public GitVersionProvideBuildVersionOption ProvideBuildVersion { get; }

Property Value

GitVersionProvideBuildVersionOption

Methods

SetProvideBuildId(bool)

Creates an option that enables or disables GitVersion as the provider of the build ID.

public GitVersionProvideBuildIdOption SetProvideBuildId(bool value)

Parameters

value bool

true to provide the build ID from GitVersion; otherwise, false.

Returns

GitVersionProvideBuildIdOption

A GitVersionProvideBuildIdOption option.

SetProvideBuildVersion(bool)

Creates an option that enables or disables GitVersion as the provider of the build version.

public GitVersionProvideBuildVersionOption SetProvideBuildVersion(bool value)

Parameters

value bool

true to provide the build version from GitVersion; otherwise, false.

Returns

GitVersionProvideBuildVersionOption

A GitVersionProvideBuildVersionOption option.