ConfigurationInfo Class

Summary

Holds options that control how the GitVersion configuration file is located and applied.
Assembly
GitVersion.Core.dll
Namespace
GitVersion
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IEquatable<ConfigurationInfo>"] Type["ConfigurationInfo"] class Type type-node

Syntax

public class ConfigurationInfo : IEquatable<ConfigurationInfo>

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Properties

Name Value Summary
ConfigurationFile string
Gets or sets an explicit path to the GitVersion configuration file, overriding automatic discovery.
EqualityContract Type
OverrideConfiguration IReadOnlyDictionary<object, object>
Gets or sets a dictionary of key/value pairs that override specific configuration values at runtime.
PropertyPath string
Gets or sets the public v7 configuration property path to print as a JSON scalar.
ShowConfiguration bool
Gets or sets a value indicating whether the effective configuration should be printed to the output.

Methods

Operators

Name Value Summary
operator !=(ConfigurationInfo, ConfigurationInfo) bool
operator ==(ConfigurationInfo, ConfigurationInfo) bool

Extension Methods

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