Class Git2SemVerConfiguration
- Namespace
- NoeticTools.Git2SemVer.Framework.Framework.Config
- Assembly
- NoeticTools.Git2SemVer.Framework.dll
User's local Git2SemVer configuration.
public sealed class Git2SemVerConfiguration : IConfiguration
- Inheritance
-
Git2SemVerConfiguration
- Implements
- Inherited Members
Properties
BuildLogSizeLimit
The local build log size. If zero, the local build log is cleared and disabled.
[JsonPropertyOrder(95)]
public int BuildLogSizeLimit { get; set; }
Property Value
Remarks
Default is 0 (disabled).
BuildNumber
The next local build number. Default is 1.
[JsonPropertyOrder(10)]
public int BuildNumber { get; set; }
Property Value
Remarks
Not recommended for use on build system (controlled) build hosts.
Used by UncontrolledHost.BuildNumber/
Rev
This configuration's schema version.
[JsonPropertyOrder(1)]
public int Rev { get; set; }
Property Value
Methods
Load()
Load the configuration. May return cached configuration.
public static Git2SemVerConfiguration Load()
Returns
Remarks
Loads the user's Git2SemVer configuration file. If the file does not exist it is created.
Load(string)
public static Git2SemVerConfiguration Load(string json)
Parameters
json
string
Returns
Save()
Save configuration to file.
public void Save()
Remarks
Saves the user's Git2SemVer configuration file.