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
-
objectGitVersionBuildOptionsExtensions.GitVersionOptions
Constructors
GitVersionOptions()
public GitVersionOptions()
Properties
Instance
Gets the singleton instance of the flags factory.
public static GitVersionBuildOptionsExtensions.GitVersionOptions Instance { get; }
Property Value
ProvideBuildId
Gets an option that enables GitVersion as the provider of the build ID.
public GitVersionProvideBuildIdOption ProvideBuildId { get; }
Property Value
ProvideBuildVersion
Gets an option that enables GitVersion as the provider of the build version.
public GitVersionProvideBuildVersionOption ProvideBuildVersion { get; }
Property Value
Methods
SetProvideBuildId(bool)
Creates an option that enables or disables GitVersion as the provider of the build ID.
public GitVersionProvideBuildIdOption SetProvideBuildId(bool value)
Parameters
valuebooltrueto provide the build ID from GitVersion; otherwise,false.
Returns
SetProvideBuildVersion(bool)
Creates an option that enables or disables GitVersion as the provider of the build version.
public GitVersionProvideBuildVersionOption SetProvideBuildVersion(bool value)
Parameters
valuebooltrueto provide the build version from GitVersion; otherwise,false.