From 66c6154532ee32fdc121cddf1d1c80ff0960e5bb Mon Sep 17 00:00:00 2001 From: Mariusz Matysek Date: Wed, 27 Nov 2024 14:04:28 +0100 Subject: [PATCH] Added .net9, updated build nuke (#169) + .net7 removed --- .build/Build.cs | 1 - .build/_build.csproj | 2 +- .github/workflows/release.yml | 4 +- .nuke/build.schema.json | 86 +- Directory.Build.props | 2 +- Directory.Packages.props | 37 +- global.json | 2 +- .../src/Confix.Nuke/Confix.Nuke.csproj | 2 +- .../src/Confix.Nuke/Confix.Tool.Generated.cs | 5509 ++++------------- .../src/Confix.Nuke/ConfixTasks.cs | 62 +- ...uld_OutputComponentList_When_Provider.snap | 51 - 11 files changed, 1250 insertions(+), 4508 deletions(-) delete mode 100644 src/Confix.Tool/test/Confix.Tool.Tests/Commands/Component/__snapshots__/__mismatch__/ComponentListCommandTests.Should_OutputComponentList_When_Provider.snap diff --git a/.build/Build.cs b/.build/Build.cs index 86f1b6b..b16e12e 100644 --- a/.build/Build.cs +++ b/.build/Build.cs @@ -4,7 +4,6 @@ using Confix.Tool; using Nuke.Common; using Nuke.Common.IO; -using Nuke.Common.Utilities.Collections; using static Nuke.CodeGeneration.CodeGenerator; public class Build : NukeBuild diff --git a/.build/_build.csproj b/.build/_build.csproj index ceabb67..07c57b5 100644 --- a/.build/_build.csproj +++ b/.build/_build.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net9.0 CS0649;CS0169 .. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 63fef50..850edcb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,15 +12,15 @@ jobs: working-directory: ./src/Confix.Tool env: VERSION: ${{ github.event.release.tag_name }} - NUGET_TOKEN: ${{ secrets.NUGET_KEY }} + NUGET_TOKEN: ${{ secrets.NUGET_API_KEY }} steps: - uses: actions/checkout@v3 - name: Setup .NET uses: actions/setup-dotnet@v3 with: dotnet-version: | - 7.0.x 8.0.x + 9.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.nuke/build.schema.json b/.nuke/build.schema.json index ff6e84a..d53f046 100644 --- a/.nuke/build.schema.json +++ b/.nuke/build.schema.json @@ -1,10 +1,43 @@ { "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/build", - "title": "Build Schema", "definitions": { - "build": { - "type": "object", + "Host": { + "type": "string", + "enum": [ + "AppVeyor", + "AzurePipelines", + "Bamboo", + "Bitbucket", + "Bitrise", + "GitHubActions", + "GitLab", + "Jenkins", + "Rider", + "SpaceAutomation", + "TeamCity", + "Terminal", + "TravisCI", + "VisualStudio", + "VSCode" + ] + }, + "ExecutableTarget": { + "type": "string", + "enum": [ + "GenerateTools" + ] + }, + "Verbosity": { + "type": "string", + "description": "", + "enum": [ + "Verbose", + "Normal", + "Minimal", + "Quiet" + ] + }, + "NukeBuild": { "properties": { "Continue": { "type": "boolean", @@ -15,25 +48,8 @@ "description": "Shows the help text for this build assembly" }, "Host": { - "type": "string", "description": "Host for execution. Default is 'automatic'", - "enum": [ - "AppVeyor", - "AzurePipelines", - "Bamboo", - "Bitbucket", - "Bitrise", - "GitHubActions", - "GitLab", - "Jenkins", - "Rider", - "SpaceAutomation", - "TeamCity", - "Terminal", - "TravisCI", - "VisualStudio", - "VSCode" - ] + "$ref": "#/definitions/Host" }, "NoLogo": { "type": "boolean", @@ -62,33 +78,27 @@ "type": "array", "description": "List of targets to be skipped. Empty list skips all dependencies", "items": { - "type": "string", - "enum": [ - "GenerateTools" - ] + "$ref": "#/definitions/ExecutableTarget" } }, "Target": { "type": "array", "description": "List of targets to be invoked. Default is '{default_target}'", "items": { - "type": "string", - "enum": [ - "GenerateTools" - ] + "$ref": "#/definitions/ExecutableTarget" } }, "Verbosity": { - "type": "string", "description": "Logging verbosity during build execution. Default is 'Normal'", - "enum": [ - "Minimal", - "Normal", - "Quiet", - "Verbose" - ] + "$ref": "#/definitions/Verbosity" } } } - } + }, + "allOf": [ + {}, + { + "$ref": "#/definitions/NukeBuild" + } + ] } diff --git a/Directory.Build.props b/Directory.Build.props index 8e65741..9969cbb 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,7 +6,7 @@ - net7.0;net8.0 + net8.0;net9.0 Confix enable 11 diff --git a/Directory.Packages.props b/Directory.Packages.props index 55cac6b..7417ca2 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,22 +3,15 @@ true - - - + + + - - - - - - - - - - + + + @@ -46,4 +39,22 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/global.json b/global.json index c19a2e0..2bc13e8 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.100", + "version": "9.0.100", "rollForward": "latestMinor" } } diff --git a/src/Confix.Tool/src/Confix.Nuke/Confix.Nuke.csproj b/src/Confix.Tool/src/Confix.Nuke/Confix.Nuke.csproj index f39b65c..4847d2c 100644 --- a/src/Confix.Tool/src/Confix.Nuke/Confix.Nuke.csproj +++ b/src/Confix.Tool/src/Confix.Nuke/Confix.Nuke.csproj @@ -4,7 +4,7 @@ Confix.Nuke Confix true - net7.0;net8.0 + net8.0;net9.0 true diff --git a/src/Confix.Tool/src/Confix.Nuke/Confix.Tool.Generated.cs b/src/Confix.Tool/src/Confix.Nuke/Confix.Tool.Generated.cs index 86b0f8f..c05ed1c 100644 --- a/src/Confix.Tool/src/Confix.Nuke/Confix.Tool.Generated.cs +++ b/src/Confix.Tool/src/Confix.Nuke/Confix.Tool.Generated.cs @@ -16,4904 +16,1673 @@ namespace Confix.Nuke; -/// -///

For more details, visit the official website.

-///
+///

For more details, visit the official website.

[PublicAPI] [ExcludeFromCodeCoverage] -public partial class ConfixTasks +public partial class ConfixTasks : ToolTasks { - /// - /// Path to the Confix executable. - /// - public static string ConfixPath => - ToolPathResolver.TryGetEnvironmentExecutable("CONFIX_EXE") ?? - GetToolPath(); - public static Action ConfixLogger { get; set; } = CustomLogger; - public static Action ConfixExitHandler { get; set; } = ProcessTasks.DefaultExitHandler; - /// - ///

For more details, visit the official website.

- ///
- public static IReadOnlyCollection Confix(ArgumentStringHandler arguments, string workingDirectory = null, IReadOnlyDictionary environmentVariables = null, int? timeout = null, bool? logOutput = null, bool? logInvocation = null, Action logger = null, Action exitHandler = null) - { - using var process = ProcessTasks.StartProcess(ConfixPath, arguments, workingDirectory, environmentVariables, timeout, logOutput, logInvocation, logger ?? ConfixLogger); - (exitHandler ?? (p => ConfixExitHandler.Invoke(null, p))).Invoke(process.AssertWaitForExit()); - return process.Output; - } - /// - ///

builds a component. Runs all configured component inputs

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixComponentBuild(ConfixComponentBuildSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixComponentBuildSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

builds a component. Runs all configured component inputs

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixComponentBuild(Configure configurator) - { - return ConfixComponentBuild(configurator(new ConfixComponentBuildSettings())); - } - /// - ///

builds a component. Runs all configured component inputs

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixComponentBuildSettings Settings, IReadOnlyCollection Output)> ConfixComponentBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixComponentBuild, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Initializes a component and creates a component file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <name> via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixComponentInit(ConfixComponentInitSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixComponentInitSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Initializes a component and creates a component file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <name> via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixComponentInit(Configure configurator) - { - return ConfixComponentInit(configurator(new ConfixComponentInitSettings())); - } - /// - ///

Initializes a component and creates a component file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <name> via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixComponentInitSettings Settings, IReadOnlyCollection Output)> ConfixComponentInit(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixComponentInit, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Lists the component of the project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --format via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixComponentList(ConfixComponentListSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixComponentListSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Lists the component of the project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --format via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixComponentList(Configure configurator) - { - return ConfixComponentList(configurator(new ConfixComponentListSettings())); - } - /// - ///

Lists the component of the project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --format via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixComponentListSettings Settings, IReadOnlyCollection Output)> ConfixComponentList(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixComponentList, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Adds a component to the project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <name> via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
  • --version via
  • - ///
- ///
- public static IReadOnlyCollection ConfixComponentAdd(ConfixComponentAddSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixComponentAddSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Adds a component to the project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <name> via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
  • --version via
  • - ///
- ///
- public static IReadOnlyCollection ConfixComponentAdd(Configure configurator) - { - return ConfixComponentAdd(configurator(new ConfixComponentAddSettings())); - } - /// - ///

Adds a component to the project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <name> via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
  • --version via
  • - ///
- ///
- public static IEnumerable<(ConfixComponentAddSettings Settings, IReadOnlyCollection Output)> ConfixComponentAdd(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixComponentAdd, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Reloads the schema of a project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixProjectRestore(ConfixProjectRestoreSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixProjectRestoreSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Reloads the schema of a project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixProjectRestore(Configure configurator) - { - return ConfixProjectRestore(configurator(new ConfixProjectRestoreSettings())); - } - /// - ///

Reloads the schema of a project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixProjectRestoreSettings Settings, IReadOnlyCollection Output)> ConfixProjectRestore(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixProjectRestore, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Replaces all variables in the project files with their values

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --encrypt via
  • - ///
  • --environment via
  • - ///
  • --no-restore via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixProjectBuild(ConfixProjectBuildSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixProjectBuildSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Replaces all variables in the project files with their values

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --encrypt via
  • - ///
  • --environment via
  • - ///
  • --no-restore via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixProjectBuild(Configure configurator) - { - return ConfixProjectBuild(configurator(new ConfixProjectBuildSettings())); - } - /// - ///

Replaces all variables in the project files with their values

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --encrypt via
  • - ///
  • --environment via
  • - ///
  • --no-restore via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixProjectBuildSettings Settings, IReadOnlyCollection Output)> ConfixProjectBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixProjectBuild, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Initializes a project and creates a project file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixProjectInit(ConfixProjectInitSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixProjectInitSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Initializes a project and creates a project file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixProjectInit(Configure configurator) - { - return ConfixProjectInit(configurator(new ConfixProjectInitSettings())); - } - /// - ///

Initializes a project and creates a project file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixProjectInitSettings Settings, IReadOnlyCollection Output)> ConfixProjectInit(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixProjectInit, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Validates the configuration files of a project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixProjectValidate(ConfixProjectValidateSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixProjectValidateSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Validates the configuration files of a project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixProjectValidate(Configure configurator) - { - return ConfixProjectValidate(configurator(new ConfixProjectValidateSettings())); - } - /// - ///

Validates the configuration files of a project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixProjectValidateSettings Settings, IReadOnlyCollection Output)> ConfixProjectValidate(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixProjectValidate, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Generates a report for the project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --no-restore via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixProjectReport(ConfixProjectReportSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixProjectReportSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Generates a report for the project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --no-restore via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixProjectReport(Configure configurator) - { - return ConfixProjectReport(configurator(new ConfixProjectReportSettings())); - } - /// - ///

Generates a report for the project

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --no-restore via
  • - ///
  • --only-components via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixProjectReportSettings Settings, IReadOnlyCollection Output)> ConfixProjectReport(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixProjectReport, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Reloads the schema of all the projects in the solution

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixSolutionRestore(ConfixSolutionRestoreSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixSolutionRestoreSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Reloads the schema of all the projects in the solution

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixSolutionRestore(Configure configurator) - { - return ConfixSolutionRestore(configurator(new ConfixSolutionRestoreSettings())); - } - /// - ///

Reloads the schema of all the projects in the solution

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixSolutionRestoreSettings Settings, IReadOnlyCollection Output)> ConfixSolutionRestore(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixSolutionRestore, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Replaces all variables in the solution files with their values

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixSolutionBuild(ConfixSolutionBuildSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixSolutionBuildSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Replaces all variables in the solution files with their values

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixSolutionBuild(Configure configurator) - { - return ConfixSolutionBuild(configurator(new ConfixSolutionBuildSettings())); - } - /// - ///

Replaces all variables in the solution files with their values

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixSolutionBuildSettings Settings, IReadOnlyCollection Output)> ConfixSolutionBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixSolutionBuild, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Initializes a solution and creates a solution file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixSolutionInit(ConfixSolutionInitSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixSolutionInitSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Initializes a solution and creates a solution file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixSolutionInit(Configure configurator) - { - return ConfixSolutionInit(configurator(new ConfixSolutionInitSettings())); - } - /// - ///

Initializes a solution and creates a solution file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixSolutionInitSettings Settings, IReadOnlyCollection Output)> ConfixSolutionInit(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixSolutionInit, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Validates the schema of all the projects in the solution

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixSolutionValidate(ConfixSolutionValidateSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixSolutionValidateSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Validates the schema of all the projects in the solution

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixSolutionValidate(Configure configurator) - { - return ConfixSolutionValidate(configurator(new ConfixSolutionValidateSettings())); - } - /// - ///

Validates the schema of all the projects in the solution

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixSolutionValidateSettings Settings, IReadOnlyCollection Output)> ConfixSolutionValidate(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixSolutionValidate, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

resolves a variable by name

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --format via
  • - ///
  • --name via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixVariableGet(ConfixVariableGetSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixVariableGetSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

resolves a variable by name

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --format via
  • - ///
  • --name via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixVariableGet(Configure configurator) - { - return ConfixVariableGet(configurator(new ConfixVariableGetSettings())); - } - /// - ///

resolves a variable by name

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --format via
  • - ///
  • --name via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixVariableGetSettings Settings, IReadOnlyCollection Output)> ConfixVariableGet(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixVariableGet, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

sets a variable. Overrides existing value if any.

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --name via
  • - ///
  • --value via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixVariableSet(ConfixVariableSetSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixVariableSetSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

sets a variable. Overrides existing value if any.

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --name via
  • - ///
  • --value via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixVariableSet(Configure configurator) - { - return ConfixVariableSet(configurator(new ConfixVariableSetSettings())); - } - /// - ///

sets a variable. Overrides existing value if any.

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --name via
  • - ///
  • --value via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixVariableSetSettings Settings, IReadOnlyCollection Output)> ConfixVariableSet(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixVariableSet, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

list available variables

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --provider via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixVariableList(ConfixVariableListSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixVariableListSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

list available variables

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --provider via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixVariableList(Configure configurator) - { - return ConfixVariableList(configurator(new ConfixVariableListSettings())); - } - /// - ///

list available variables

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --provider via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixVariableListSettings Settings, IReadOnlyCollection Output)> ConfixVariableList(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixVariableList, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Copies a variable from one provider to another provider

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --from via
  • - ///
  • --to via
  • - ///
  • --to-environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixVariableCopy(ConfixVariableCopySettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixVariableCopySettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Copies a variable from one provider to another provider

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --from via
  • - ///
  • --to via
  • - ///
  • --to-environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixVariableCopy(Configure configurator) - { - return ConfixVariableCopy(configurator(new ConfixVariableCopySettings())); - } - /// - ///

Copies a variable from one provider to another provider

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --from via
  • - ///
  • --to via
  • - ///
  • --to-environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixVariableCopySettings Settings, IReadOnlyCollection Output)> ConfixVariableCopy(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixVariableCopy, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --encrypt via
  • - ///
  • --environment via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixBuild(ConfixBuildSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixBuildSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --encrypt via
  • - ///
  • --environment via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixBuild(Configure configurator) - { - return ConfixBuild(configurator(new ConfixBuildSettings())); - } - /// - ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --encrypt via
  • - ///
  • --environment via
  • - ///
  • --output-file via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixBuildSettings Settings, IReadOnlyCollection Output)> ConfixBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixBuild, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixRestore(ConfixRestoreSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixRestoreSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixRestore(Configure configurator) - { - return ConfixRestore(configurator(new ConfixRestoreSettings())); - } - /// - ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixRestoreSettings Settings, IReadOnlyCollection Output)> ConfixRestore(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixRestore, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Validates the schema of all the projects

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixValidate(ConfixValidateSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixValidateSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Validates the schema of all the projects

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixValidate(Configure configurator) - { - return ConfixValidate(configurator(new ConfixValidateSettings())); - } - /// - ///

Validates the schema of all the projects

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixValidateSettings Settings, IReadOnlyCollection Output)> ConfixValidate(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixValidate, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Encrypts a file using the configured provider

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <inputFile> via
  • - ///
  • <outFile> via
  • - ///
  • --environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixEncrypt(ConfixEncryptSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixEncryptSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Encrypts a file using the configured provider

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <inputFile> via
  • - ///
  • <outFile> via
  • - ///
  • --environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixEncrypt(Configure configurator) - { - return ConfixEncrypt(configurator(new ConfixEncryptSettings())); - } - /// - ///

Encrypts a file using the configured provider

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <inputFile> via
  • - ///
  • <outFile> via
  • - ///
  • --environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixEncryptSettings Settings, IReadOnlyCollection Output)> ConfixEncrypt(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixEncrypt, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Decrypts a file using the configured provider

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <inputFile> via
  • - ///
  • <outFile> via
  • - ///
  • --environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixDecrypt(ConfixDecryptSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixDecryptSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Decrypts a file using the configured provider

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <inputFile> via
  • - ///
  • <outFile> via
  • - ///
  • --environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixDecrypt(Configure configurator) - { - return ConfixDecrypt(configurator(new ConfixDecryptSettings())); - } - /// - ///

Decrypts a file using the configured provider

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <inputFile> via
  • - ///
  • <outFile> via
  • - ///
  • --environment via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixDecryptSettings Settings, IReadOnlyCollection Output)> ConfixDecrypt(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixDecrypt, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Shows the configuration to a file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --format via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixConfigShow(ConfixConfigShowSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixConfigShowSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Shows the configuration to a file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --format via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixConfigShow(Configure configurator) - { - return ConfixConfigShow(configurator(new ConfixConfigShowSettings())); - } - /// - ///

Shows the configuration to a file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --format via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixConfigShowSettings Settings, IReadOnlyCollection Output)> ConfixConfigShow(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixConfigShow, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Sets a configuration value in the nearest .confixrc

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <path> via
  • - ///
  • <value> via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixConfigSet(ConfixConfigSetSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixConfigSetSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Sets a configuration value in the nearest .confixrc

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <path> via
  • - ///
  • <value> via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixConfigSet(Configure configurator) - { - return ConfixConfigSet(configurator(new ConfixConfigSetSettings())); - } - /// - ///

Sets a configuration value in the nearest .confixrc

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • <path> via
  • - ///
  • <value> via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixConfigSetSettings Settings, IReadOnlyCollection Output)> ConfixConfigSet(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixConfigSet, ConfixLogger, degreeOfParallelism, completeOnFailure); - } - /// - ///

Lists the configuration to a file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --format via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixConfigList(ConfixConfigListSettings toolSettings = null) - { - toolSettings = toolSettings ?? new ConfixConfigListSettings(); - using var process = ProcessTasks.StartProcess(toolSettings); - toolSettings.ProcessExitHandler.Invoke(toolSettings, process.AssertWaitForExit()); - return process.Output; - } - /// - ///

Lists the configuration to a file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --format via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IReadOnlyCollection ConfixConfigList(Configure configurator) - { - return ConfixConfigList(configurator(new ConfixConfigListSettings())); - } - /// - ///

Lists the configuration to a file

- ///

For more details, visit the official website.

- ///
- /// - ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

- ///
    - ///
  • --format via
  • - ///
  • --verbosity via
  • - ///
- ///
- public static IEnumerable<(ConfixConfigListSettings Settings, IReadOnlyCollection Output)> ConfixConfigList(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) - { - return configurator.Invoke(ConfixConfigList, ConfixLogger, degreeOfParallelism, completeOnFailure); - } + public static string ConfixPath => new ConfixTasks().GetToolPath(); + public const string PackageExecutable = "Confix.dll"; + ///

For more details, visit the official website.

+ public static IReadOnlyCollection Confix(ArgumentStringHandler arguments, string workingDirectory = null, IReadOnlyDictionary environmentVariables = null, int? timeout = null, bool? logOutput = null, bool? logInvocation = null, Action logger = null, Func exitHandler = null) => new ConfixTasks().Run(arguments, workingDirectory, environmentVariables, timeout, logOutput, logInvocation, logger, exitHandler); + ///

builds a component. Runs all configured component inputs

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IReadOnlyCollection ConfixComponentBuild(ConfixComponentBuildSettings options = null) => new ConfixTasks().Run(options); + ///

builds a component. Runs all configured component inputs

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IReadOnlyCollection ConfixComponentBuild(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixComponentBuildSettings())); + ///

builds a component. Runs all configured component inputs

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IEnumerable<(ConfixComponentBuildSettings Settings, IReadOnlyCollection Output)> ConfixComponentBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixComponentBuild, degreeOfParallelism, completeOnFailure); + ///

Initializes a component and creates a component file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <name> via
  • --verbosity via
+ public static IReadOnlyCollection ConfixComponentInit(ConfixComponentInitSettings options = null) => new ConfixTasks().Run(options); + ///

Initializes a component and creates a component file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <name> via
  • --verbosity via
+ public static IReadOnlyCollection ConfixComponentInit(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixComponentInitSettings())); + ///

Initializes a component and creates a component file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <name> via
  • --verbosity via
+ public static IEnumerable<(ConfixComponentInitSettings Settings, IReadOnlyCollection Output)> ConfixComponentInit(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixComponentInit, degreeOfParallelism, completeOnFailure); + ///

Lists the component of the project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --format via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixComponentList(ConfixComponentListSettings options = null) => new ConfixTasks().Run(options); + ///

Lists the component of the project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --format via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixComponentList(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixComponentListSettings())); + ///

Lists the component of the project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --format via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IEnumerable<(ConfixComponentListSettings Settings, IReadOnlyCollection Output)> ConfixComponentList(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixComponentList, degreeOfParallelism, completeOnFailure); + ///

Adds a component to the project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <name> via
  • --output-file via
  • --verbosity via
  • --version via
+ public static IReadOnlyCollection ConfixComponentAdd(ConfixComponentAddSettings options = null) => new ConfixTasks().Run(options); + ///

Adds a component to the project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <name> via
  • --output-file via
  • --verbosity via
  • --version via
+ public static IReadOnlyCollection ConfixComponentAdd(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixComponentAddSettings())); + ///

Adds a component to the project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <name> via
  • --output-file via
  • --verbosity via
  • --version via
+ public static IEnumerable<(ConfixComponentAddSettings Settings, IReadOnlyCollection Output)> ConfixComponentAdd(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixComponentAdd, degreeOfParallelism, completeOnFailure); + ///

Reloads the schema of a project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixProjectRestore(ConfixProjectRestoreSettings options = null) => new ConfixTasks().Run(options); + ///

Reloads the schema of a project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixProjectRestore(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixProjectRestoreSettings())); + ///

Reloads the schema of a project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IEnumerable<(ConfixProjectRestoreSettings Settings, IReadOnlyCollection Output)> ConfixProjectRestore(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixProjectRestore, degreeOfParallelism, completeOnFailure); + ///

Replaces all variables in the project files with their values

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --encrypt via
  • --environment via
  • --no-restore via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixProjectBuild(ConfixProjectBuildSettings options = null) => new ConfixTasks().Run(options); + ///

Replaces all variables in the project files with their values

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --encrypt via
  • --environment via
  • --no-restore via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixProjectBuild(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixProjectBuildSettings())); + ///

Replaces all variables in the project files with their values

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --encrypt via
  • --environment via
  • --no-restore via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IEnumerable<(ConfixProjectBuildSettings Settings, IReadOnlyCollection Output)> ConfixProjectBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixProjectBuild, degreeOfParallelism, completeOnFailure); + ///

Initializes a project and creates a project file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixProjectInit(ConfixProjectInitSettings options = null) => new ConfixTasks().Run(options); + ///

Initializes a project and creates a project file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixProjectInit(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixProjectInitSettings())); + ///

Initializes a project and creates a project file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --output-file via
  • --verbosity via
+ public static IEnumerable<(ConfixProjectInitSettings Settings, IReadOnlyCollection Output)> ConfixProjectInit(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixProjectInit, degreeOfParallelism, completeOnFailure); + ///

Validates the configuration files of a project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixProjectValidate(ConfixProjectValidateSettings options = null) => new ConfixTasks().Run(options); + ///

Validates the configuration files of a project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixProjectValidate(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixProjectValidateSettings())); + ///

Validates the configuration files of a project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IEnumerable<(ConfixProjectValidateSettings Settings, IReadOnlyCollection Output)> ConfixProjectValidate(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixProjectValidate, degreeOfParallelism, completeOnFailure); + ///

Generates a report for the project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --no-restore via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixProjectReport(ConfixProjectReportSettings options = null) => new ConfixTasks().Run(options); + ///

Generates a report for the project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --no-restore via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixProjectReport(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixProjectReportSettings())); + ///

Generates a report for the project

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --no-restore via
  • --only-components via
  • --output-file via
  • --verbosity via
+ public static IEnumerable<(ConfixProjectReportSettings Settings, IReadOnlyCollection Output)> ConfixProjectReport(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixProjectReport, degreeOfParallelism, completeOnFailure); + ///

Reloads the schema of all the projects in the solution

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IReadOnlyCollection ConfixSolutionRestore(ConfixSolutionRestoreSettings options = null) => new ConfixTasks().Run(options); + ///

Reloads the schema of all the projects in the solution

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IReadOnlyCollection ConfixSolutionRestore(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixSolutionRestoreSettings())); + ///

Reloads the schema of all the projects in the solution

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IEnumerable<(ConfixSolutionRestoreSettings Settings, IReadOnlyCollection Output)> ConfixSolutionRestore(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixSolutionRestore, degreeOfParallelism, completeOnFailure); + ///

Replaces all variables in the solution files with their values

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IReadOnlyCollection ConfixSolutionBuild(ConfixSolutionBuildSettings options = null) => new ConfixTasks().Run(options); + ///

Replaces all variables in the solution files with their values

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IReadOnlyCollection ConfixSolutionBuild(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixSolutionBuildSettings())); + ///

Replaces all variables in the solution files with their values

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IEnumerable<(ConfixSolutionBuildSettings Settings, IReadOnlyCollection Output)> ConfixSolutionBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixSolutionBuild, degreeOfParallelism, completeOnFailure); + ///

Initializes a solution and creates a solution file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IReadOnlyCollection ConfixSolutionInit(ConfixSolutionInitSettings options = null) => new ConfixTasks().Run(options); + ///

Initializes a solution and creates a solution file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IReadOnlyCollection ConfixSolutionInit(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixSolutionInitSettings())); + ///

Initializes a solution and creates a solution file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IEnumerable<(ConfixSolutionInitSettings Settings, IReadOnlyCollection Output)> ConfixSolutionInit(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixSolutionInit, degreeOfParallelism, completeOnFailure); + ///

Validates the schema of all the projects in the solution

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IReadOnlyCollection ConfixSolutionValidate(ConfixSolutionValidateSettings options = null) => new ConfixTasks().Run(options); + ///

Validates the schema of all the projects in the solution

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IReadOnlyCollection ConfixSolutionValidate(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixSolutionValidateSettings())); + ///

Validates the schema of all the projects in the solution

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --verbosity via
+ public static IEnumerable<(ConfixSolutionValidateSettings Settings, IReadOnlyCollection Output)> ConfixSolutionValidate(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixSolutionValidate, degreeOfParallelism, completeOnFailure); + ///

resolves a variable by name

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --format via
  • --name via
  • --verbosity via
+ public static IReadOnlyCollection ConfixVariableGet(ConfixVariableGetSettings options = null) => new ConfixTasks().Run(options); + ///

resolves a variable by name

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --format via
  • --name via
  • --verbosity via
+ public static IReadOnlyCollection ConfixVariableGet(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixVariableGetSettings())); + ///

resolves a variable by name

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --format via
  • --name via
  • --verbosity via
+ public static IEnumerable<(ConfixVariableGetSettings Settings, IReadOnlyCollection Output)> ConfixVariableGet(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixVariableGet, degreeOfParallelism, completeOnFailure); + ///

sets a variable. Overrides existing value if any.

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --name via
  • --value via
  • --verbosity via
+ public static IReadOnlyCollection ConfixVariableSet(ConfixVariableSetSettings options = null) => new ConfixTasks().Run(options); + ///

sets a variable. Overrides existing value if any.

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --name via
  • --value via
  • --verbosity via
+ public static IReadOnlyCollection ConfixVariableSet(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixVariableSetSettings())); + ///

sets a variable. Overrides existing value if any.

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --name via
  • --value via
  • --verbosity via
+ public static IEnumerable<(ConfixVariableSetSettings Settings, IReadOnlyCollection Output)> ConfixVariableSet(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixVariableSet, degreeOfParallelism, completeOnFailure); + ///

list available variables

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --provider via
  • --verbosity via
+ public static IReadOnlyCollection ConfixVariableList(ConfixVariableListSettings options = null) => new ConfixTasks().Run(options); + ///

list available variables

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --provider via
  • --verbosity via
+ public static IReadOnlyCollection ConfixVariableList(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixVariableListSettings())); + ///

list available variables

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --provider via
  • --verbosity via
+ public static IEnumerable<(ConfixVariableListSettings Settings, IReadOnlyCollection Output)> ConfixVariableList(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixVariableList, degreeOfParallelism, completeOnFailure); + ///

Copies a variable from one provider to another provider

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --from via
  • --to via
  • --to-environment via
  • --verbosity via
+ public static IReadOnlyCollection ConfixVariableCopy(ConfixVariableCopySettings options = null) => new ConfixTasks().Run(options); + ///

Copies a variable from one provider to another provider

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --from via
  • --to via
  • --to-environment via
  • --verbosity via
+ public static IReadOnlyCollection ConfixVariableCopy(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixVariableCopySettings())); + ///

Copies a variable from one provider to another provider

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --from via
  • --to via
  • --to-environment via
  • --verbosity via
+ public static IEnumerable<(ConfixVariableCopySettings Settings, IReadOnlyCollection Output)> ConfixVariableCopy(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixVariableCopy, degreeOfParallelism, completeOnFailure); + ///

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --encrypt via
  • --environment via
  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixBuild(ConfixBuildSettings options = null) => new ConfixTasks().Run(options); + ///

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --encrypt via
  • --environment via
  • --output-file via
  • --verbosity via
+ public static IReadOnlyCollection ConfixBuild(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixBuildSettings())); + ///

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --encrypt via
  • --environment via
  • --output-file via
  • --verbosity via
+ public static IEnumerable<(ConfixBuildSettings Settings, IReadOnlyCollection Output)> ConfixBuild(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixBuild, degreeOfParallelism, completeOnFailure); + ///

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --verbosity via
+ public static IReadOnlyCollection ConfixRestore(ConfixRestoreSettings options = null) => new ConfixTasks().Run(options); + ///

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --verbosity via
+ public static IReadOnlyCollection ConfixRestore(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixRestoreSettings())); + ///

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --verbosity via
+ public static IEnumerable<(ConfixRestoreSettings Settings, IReadOnlyCollection Output)> ConfixRestore(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixRestore, degreeOfParallelism, completeOnFailure); + ///

Validates the schema of all the projects

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --verbosity via
+ public static IReadOnlyCollection ConfixValidate(ConfixValidateSettings options = null) => new ConfixTasks().Run(options); + ///

Validates the schema of all the projects

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --verbosity via
+ public static IReadOnlyCollection ConfixValidate(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixValidateSettings())); + ///

Validates the schema of all the projects

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --environment via
  • --verbosity via
+ public static IEnumerable<(ConfixValidateSettings Settings, IReadOnlyCollection Output)> ConfixValidate(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixValidate, degreeOfParallelism, completeOnFailure); + ///

Encrypts a file using the configured provider

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <inputFile> via
  • <outFile> via
  • --environment via
  • --verbosity via
+ public static IReadOnlyCollection ConfixEncrypt(ConfixEncryptSettings options = null) => new ConfixTasks().Run(options); + ///

Encrypts a file using the configured provider

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <inputFile> via
  • <outFile> via
  • --environment via
  • --verbosity via
+ public static IReadOnlyCollection ConfixEncrypt(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixEncryptSettings())); + ///

Encrypts a file using the configured provider

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <inputFile> via
  • <outFile> via
  • --environment via
  • --verbosity via
+ public static IEnumerable<(ConfixEncryptSettings Settings, IReadOnlyCollection Output)> ConfixEncrypt(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixEncrypt, degreeOfParallelism, completeOnFailure); + ///

Decrypts a file using the configured provider

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <inputFile> via
  • <outFile> via
  • --environment via
  • --verbosity via
+ public static IReadOnlyCollection ConfixDecrypt(ConfixDecryptSettings options = null) => new ConfixTasks().Run(options); + ///

Decrypts a file using the configured provider

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <inputFile> via
  • <outFile> via
  • --environment via
  • --verbosity via
+ public static IReadOnlyCollection ConfixDecrypt(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixDecryptSettings())); + ///

Decrypts a file using the configured provider

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <inputFile> via
  • <outFile> via
  • --environment via
  • --verbosity via
+ public static IEnumerable<(ConfixDecryptSettings Settings, IReadOnlyCollection Output)> ConfixDecrypt(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixDecrypt, degreeOfParallelism, completeOnFailure); + ///

Shows the configuration to a file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --format via
  • --verbosity via
+ public static IReadOnlyCollection ConfixConfigShow(ConfixConfigShowSettings options = null) => new ConfixTasks().Run(options); + ///

Shows the configuration to a file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --format via
  • --verbosity via
+ public static IReadOnlyCollection ConfixConfigShow(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixConfigShowSettings())); + ///

Shows the configuration to a file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --format via
  • --verbosity via
+ public static IEnumerable<(ConfixConfigShowSettings Settings, IReadOnlyCollection Output)> ConfixConfigShow(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixConfigShow, degreeOfParallelism, completeOnFailure); + ///

Sets a configuration value in the nearest .confixrc

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <path> via
  • <value> via
  • --verbosity via
+ public static IReadOnlyCollection ConfixConfigSet(ConfixConfigSetSettings options = null) => new ConfixTasks().Run(options); + ///

Sets a configuration value in the nearest .confixrc

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <path> via
  • <value> via
  • --verbosity via
+ public static IReadOnlyCollection ConfixConfigSet(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixConfigSetSettings())); + ///

Sets a configuration value in the nearest .confixrc

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <path> via
  • <value> via
  • --verbosity via
+ public static IEnumerable<(ConfixConfigSetSettings Settings, IReadOnlyCollection Output)> ConfixConfigSet(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixConfigSet, degreeOfParallelism, completeOnFailure); + ///

Lists the configuration to a file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --format via
  • --verbosity via
+ public static IReadOnlyCollection ConfixConfigList(ConfixConfigListSettings options = null) => new ConfixTasks().Run(options); + ///

Lists the configuration to a file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --format via
  • --verbosity via
+ public static IReadOnlyCollection ConfixConfigList(Configure configurator) => new ConfixTasks().Run(configurator.Invoke(new ConfixConfigListSettings())); + ///

Lists the configuration to a file

For more details, visit the official website.

+ ///

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • --format via
  • --verbosity via
+ public static IEnumerable<(ConfixConfigListSettings Settings, IReadOnlyCollection Output)> ConfixConfigList(CombinatorialConfigure configurator, int degreeOfParallelism = 1, bool completeOnFailure = false) => configurator.Invoke(ConfixConfigList, degreeOfParallelism, completeOnFailure); } #region ConfixComponentBuildSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixComponentBuildSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixComponentBuild), Arguments = "component build")] +public partial class ConfixComponentBuildSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("component build") - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixComponentInitSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixComponentInitSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixComponentInit), Arguments = "component init")] +public partial class ConfixComponentInitSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - /// - /// The name of the component - /// - public virtual string Name { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("component init") - .Add("--verbosity {value}", Verbosity) - .Add("{value}", Name); - return base.ConfigureProcessArguments(arguments); - } + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// The name of the component + [Argument(Format = "{value}")] public string Name => Get(() => Name); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixComponentListSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixComponentListSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixComponentList), Arguments = "component list")] +public partial class ConfixComponentListSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Sets the output format - /// - public virtual string Format { get; internal set; } - /// - /// Specifies the output file - /// - public virtual string OutputFile { get; internal set; } - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// If you specify this option, only the components will be built. - /// - public virtual string OnlyComponents { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("component list") - .Add("--format {value}", Format) - .Add("--output-file {value}", OutputFile) - .Add("--environment {value}", Environment) - .Add("--only-components {value}", OnlyComponents) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Sets the output format + [Argument(Format = "--format {value}")] public string Format => Get(() => Format); + /// Specifies the output file + [Argument(Format = "--output-file {value}")] public string OutputFile => Get(() => OutputFile); + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// If you specify this option, only the components will be built. + [Argument(Format = "--only-components {value}")] public string OnlyComponents => Get(() => OnlyComponents); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixComponentAddSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixComponentAddSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixComponentAdd), Arguments = "component add")] +public partial class ConfixComponentAddSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Shows the version information - /// - public virtual string Version { get; internal set; } - /// - /// Specifies the output file - /// - public virtual string OutputFile { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - /// - /// The name of the component - /// - public virtual string Name { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("component add") - .Add("--version {value}", Version) - .Add("--output-file {value}", OutputFile) - .Add("--verbosity {value}", Verbosity) - .Add("{value}", Name); - return base.ConfigureProcessArguments(arguments); - } + /// Shows the version information + [Argument(Format = "--version {value}")] public string Version => Get(() => Version); + /// Specifies the output file + [Argument(Format = "--output-file {value}")] public string OutputFile => Get(() => OutputFile); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// The name of the component + [Argument(Format = "{value}")] public string Name => Get(() => Name); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixProjectRestoreSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixProjectRestoreSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixProjectRestore), Arguments = "project restore")] +public partial class ConfixProjectRestoreSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Specifies the output file - /// - public virtual string OutputFile { get; internal set; } - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// If you specify this option, only the components will be built. - /// - public virtual string OnlyComponents { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("project restore") - .Add("--output-file {value}", OutputFile) - .Add("--environment {value}", Environment) - .Add("--only-components {value}", OnlyComponents) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Specifies the output file + [Argument(Format = "--output-file {value}")] public string OutputFile => Get(() => OutputFile); + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// If you specify this option, only the components will be built. + [Argument(Format = "--only-components {value}")] public string OnlyComponents => Get(() => OnlyComponents); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixProjectBuildSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixProjectBuildSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixProjectBuild), Arguments = "project build")] +public partial class ConfixProjectBuildSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Disables restoring of schemas - /// - public virtual string NoRestore { get; internal set; } - /// - /// Specifies the output file - /// - public virtual string OutputFile { get; internal set; } - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// If you specify this option, only the components will be built. - /// - public virtual string OnlyComponents { get; internal set; } - /// - /// Encrypt the output file - /// - public virtual string Encrypt { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("project build") - .Add("--no-restore {value}", NoRestore) - .Add("--output-file {value}", OutputFile) - .Add("--environment {value}", Environment) - .Add("--only-components {value}", OnlyComponents) - .Add("--encrypt {value}", Encrypt) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Disables restoring of schemas + [Argument(Format = "--no-restore {value}")] public string NoRestore => Get(() => NoRestore); + /// Specifies the output file + [Argument(Format = "--output-file {value}")] public string OutputFile => Get(() => OutputFile); + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// If you specify this option, only the components will be built. + [Argument(Format = "--only-components {value}")] public string OnlyComponents => Get(() => OnlyComponents); + /// Encrypt the output file + [Argument(Format = "--encrypt {value}")] public string Encrypt => Get(() => Encrypt); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixProjectInitSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixProjectInitSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixProjectInit), Arguments = "project init")] +public partial class ConfixProjectInitSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Specifies the output file - /// - public virtual string OutputFile { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("project init") - .Add("--output-file {value}", OutputFile) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Specifies the output file + [Argument(Format = "--output-file {value}")] public string OutputFile => Get(() => OutputFile); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixProjectValidateSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixProjectValidateSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixProjectValidate), Arguments = "project validate")] +public partial class ConfixProjectValidateSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Specifies the output file - /// - public virtual string OutputFile { get; internal set; } - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// If you specify this option, only the components will be built. - /// - public virtual string OnlyComponents { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("project validate") - .Add("--output-file {value}", OutputFile) - .Add("--environment {value}", Environment) - .Add("--only-components {value}", OnlyComponents) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Specifies the output file + [Argument(Format = "--output-file {value}")] public string OutputFile => Get(() => OutputFile); + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// If you specify this option, only the components will be built. + [Argument(Format = "--only-components {value}")] public string OnlyComponents => Get(() => OnlyComponents); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixProjectReportSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixProjectReportSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixProjectReport), Arguments = "project report")] +public partial class ConfixProjectReportSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Disables restoring of schemas - /// - public virtual string NoRestore { get; internal set; } - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// The path to the report file. If not specified, the report will be written to the console. - /// - public virtual string OutputFile { get; internal set; } - /// - /// If you specify this option, only the components will be built. - /// - public virtual string OnlyComponents { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("project report") - .Add("--no-restore {value}", NoRestore) - .Add("--environment {value}", Environment) - .Add("--output-file {value}", OutputFile) - .Add("--only-components {value}", OnlyComponents) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Disables restoring of schemas + [Argument(Format = "--no-restore {value}")] public string NoRestore => Get(() => NoRestore); + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// The path to the report file. If not specified, the report will be written to the console. + [Argument(Format = "--output-file {value}")] public string OutputFile => Get(() => OutputFile); + /// If you specify this option, only the components will be built. + [Argument(Format = "--only-components {value}")] public string OnlyComponents => Get(() => OnlyComponents); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixSolutionRestoreSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixSolutionRestoreSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixSolutionRestore), Arguments = "solution restore")] +public partial class ConfixSolutionRestoreSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("solution restore") - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixSolutionBuildSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixSolutionBuildSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixSolutionBuild), Arguments = "solution build")] +public partial class ConfixSolutionBuildSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("solution build") - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixSolutionInitSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixSolutionInitSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixSolutionInit), Arguments = "solution init")] +public partial class ConfixSolutionInitSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("solution init") - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixSolutionValidateSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixSolutionValidateSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixSolutionValidate), Arguments = "solution validate")] +public partial class ConfixSolutionValidateSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("solution validate") - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixVariableGetSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixVariableGetSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixVariableGet), Arguments = "variable get")] +public partial class ConfixVariableGetSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// The name of the variable - /// - public virtual string Name { get; internal set; } - /// - /// Sets the output format - /// - public virtual string Format { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("variable get") - .Add("--environment {value}", Environment) - .Add("--name {value}", Name) - .Add("--format {value}", Format) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// The name of the variable + [Argument(Format = "--name {value}")] public string Name => Get(() => Name); + /// Sets the output format + [Argument(Format = "--format {value}")] public string Format => Get(() => Format); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixVariableSetSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixVariableSetSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixVariableSet), Arguments = "variable set")] +public partial class ConfixVariableSetSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// The name of the variable - /// - public virtual string Name { get; internal set; } - /// - /// The value of the variable - /// - public virtual string Value { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("variable set") - .Add("--environment {value}", Environment) - .Add("--name {value}", Name) - .Add("--value {value}", Value) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// The name of the variable + [Argument(Format = "--name {value}")] public string Name => Get(() => Name); + /// The value of the variable + [Argument(Format = "--value {value}")] public string Value => Get(() => Value); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixVariableListSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixVariableListSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixVariableList), Arguments = "variable list")] +public partial class ConfixVariableListSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// The name of the provider to resolve the variable from - /// - public virtual string Provider { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("variable list") - .Add("--environment {value}", Environment) - .Add("--provider {value}", Provider) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// The name of the provider to resolve the variable from + [Argument(Format = "--provider {value}")] public string Provider => Get(() => Provider); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixVariableCopySettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixVariableCopySettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixVariableCopy), Arguments = "variable copy")] +public partial class ConfixVariableCopySettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// The name of the new variable - /// - public virtual string From { get; internal set; } - /// - /// The name of the new variable - /// - public virtual string To { get; internal set; } - /// - /// The name of the environment you want to migrate the variable to - /// - public virtual string ToEnvironment { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("variable copy") - .Add("--environment {value}", Environment) - .Add("--from {value}", From) - .Add("--to {value}", To) - .Add("--to-environment {value}", ToEnvironment) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// The name of the new variable + [Argument(Format = "--from {value}")] public string From => Get(() => From); + /// The name of the new variable + [Argument(Format = "--to {value}")] public string To => Get(() => To); + /// The name of the environment you want to migrate the variable to + [Argument(Format = "--to-environment {value}")] public string ToEnvironment => Get(() => ToEnvironment); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixBuildSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixBuildSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixBuild), Arguments = "build")] +public partial class ConfixBuildSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// Specifies the output file - /// - public virtual string OutputFile { get; internal set; } - /// - /// Encrypt the output file - /// - public virtual string Encrypt { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("build") - .Add("--environment {value}", Environment) - .Add("--output-file {value}", OutputFile) - .Add("--encrypt {value}", Encrypt) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// Specifies the output file + [Argument(Format = "--output-file {value}")] public string OutputFile => Get(() => OutputFile); + /// Encrypt the output file + [Argument(Format = "--encrypt {value}")] public string Encrypt => Get(() => Encrypt); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixRestoreSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixRestoreSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixRestore), Arguments = "restore")] +public partial class ConfixRestoreSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("restore") - .Add("--environment {value}", Environment) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixValidateSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixValidateSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixValidate), Arguments = "validate")] +public partial class ConfixValidateSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("validate") - .Add("--environment {value}", Environment) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixEncryptSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixEncryptSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixEncrypt), Arguments = "encrypt")] +public partial class ConfixEncryptSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - /// - /// The path to the file to encrypt or decrypt. - /// - public virtual string InputFile { get; internal set; } - /// - /// The file to write the encrypted or decrypted data to. If not provided the input file will be overwritten. Existing files will be overwritten. - /// - public virtual string OutFile { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("encrypt") - .Add("--environment {value}", Environment) - .Add("--verbosity {value}", Verbosity) - .Add("{value}", InputFile) - .Add("{value}", OutFile); - return base.ConfigureProcessArguments(arguments); - } + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// The path to the file to encrypt or decrypt. + [Argument(Format = "{value}")] public string InputFile => Get(() => InputFile); + /// The file to write the encrypted or decrypted data to. If not provided the input file will be overwritten. Existing files will be overwritten. + [Argument(Format = "{value}")] public string OutFile => Get(() => OutFile); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixDecryptSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixDecryptSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixDecrypt), Arguments = "decrypt")] +public partial class ConfixDecryptSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// The name of the environment to run the command in. Overrules the active environment set in .confixrc - /// - public virtual string Environment { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - /// - /// The path to the file to encrypt or decrypt. - /// - public virtual string InputFile { get; internal set; } - /// - /// The file to write the encrypted or decrypted data to. If not provided the input file will be overwritten. Existing files will be overwritten. - /// - public virtual string OutFile { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("decrypt") - .Add("--environment {value}", Environment) - .Add("--verbosity {value}", Verbosity) - .Add("{value}", InputFile) - .Add("{value}", OutFile); - return base.ConfigureProcessArguments(arguments); - } + /// The name of the environment to run the command in. Overrules the active environment set in .confixrc + [Argument(Format = "--environment {value}")] public string Environment => Get(() => Environment); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// The path to the file to encrypt or decrypt. + [Argument(Format = "{value}")] public string InputFile => Get(() => InputFile); + /// The file to write the encrypted or decrypted data to. If not provided the input file will be overwritten. Existing files will be overwritten. + [Argument(Format = "{value}")] public string OutFile => Get(() => OutFile); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixConfigShowSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixConfigShowSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixConfigShow), Arguments = "config show")] +public partial class ConfixConfigShowSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Sets the output format - /// - public virtual string Format { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("config show") - .Add("--format {value}", Format) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Sets the output format + [Argument(Format = "--format {value}")] public string Format => Get(() => Format); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixConfigSetSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixConfigSetSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixConfigSet), Arguments = "config set")] +public partial class ConfixConfigSetSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - /// - /// The path to the configuration file - /// - public virtual string Path { get; internal set; } - /// - /// The value to set as json - /// - public virtual string Value { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("config set") - .Add("--verbosity {value}", Verbosity) - .Add("{value}", Path) - .Add("{value}", Value); - return base.ConfigureProcessArguments(arguments); - } + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// The path to the configuration file + [Argument(Format = "{value}")] public string Path => Get(() => Path); + /// The value to set as json + [Argument(Format = "{value}")] public string Value => Get(() => Value); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixConfigListSettings -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] -[Serializable] -public partial class ConfixConfigListSettings : ToolSettings +[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixConfigList), Arguments = "config list")] +public partial class ConfixConfigListSettings : ToolOptions { - /// - /// Path to the Confix executable. - /// - public override string ProcessToolPath => base.ProcessToolPath ?? GetProcessToolPath(); - public override Action ProcessLogger => base.ProcessLogger ?? ConfixTasks.ConfixLogger; - public override Action ProcessExitHandler => base.ProcessExitHandler ?? ConfixTasks.ConfixExitHandler; - /// - /// Sets the output format - /// - public virtual string Format { get; internal set; } - /// - /// Sets the verbosity level - /// - public virtual string Verbosity { get; internal set; } - public virtual string Framework { get; internal set; } - protected override Arguments ConfigureProcessArguments(Arguments arguments) - { - arguments - .Add("config list") - .Add("--format {value}", Format) - .Add("--verbosity {value}", Verbosity); - return base.ConfigureProcessArguments(arguments); - } + /// Sets the output format + [Argument(Format = "--format {value}")] public string Format => Get(() => Format); + /// Sets the verbosity level + [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); + /// + public string Framework => Get(() => Framework); } #endregion #region ConfixComponentBuildSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixComponentBuildSettingsExtensions { #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixComponentBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixComponentBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentBuildSettings), Property = nameof(ConfixComponentBuildSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixComponentBuildSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentBuildSettings), Property = nameof(ConfixComponentBuildSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixComponentBuildSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixComponentBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixComponentBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentBuildSettings), Property = nameof(ConfixComponentBuildSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixComponentBuildSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentBuildSettings), Property = nameof(ConfixComponentBuildSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixComponentBuildSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixComponentInitSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixComponentInitSettingsExtensions { #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixComponentInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixComponentInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentInitSettings), Property = nameof(ConfixComponentInitSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixComponentInitSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentInitSettings), Property = nameof(ConfixComponentInitSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixComponentInitSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Name - /// - ///

Sets

- ///

The name of the component

- ///
- [Pure] - public static T SetName(this T toolSettings, string name) where T : ConfixComponentInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Name = name; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the component

- ///
- [Pure] - public static T ResetName(this T toolSettings) where T : ConfixComponentInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Name = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentInitSettings), Property = nameof(ConfixComponentInitSettings.Name))] + public static T SetName(this T o, string v) where T : ConfixComponentInitSettings => o.Modify(b => b.Set(() => o.Name, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentInitSettings), Property = nameof(ConfixComponentInitSettings.Name))] + public static T ResetName(this T o) where T : ConfixComponentInitSettings => o.Modify(b => b.Remove(() => o.Name)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixComponentInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixComponentInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentInitSettings), Property = nameof(ConfixComponentInitSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixComponentInitSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentInitSettings), Property = nameof(ConfixComponentInitSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixComponentInitSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixComponentListSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixComponentListSettingsExtensions { #region Format - /// - ///

Sets

- ///

Sets the output format

- ///
- [Pure] - public static T SetFormat(this T toolSettings, string format) where T : ConfixComponentListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Format = format; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the output format

- ///
- [Pure] - public static T ResetFormat(this T toolSettings) where T : ConfixComponentListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Format = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentListSettings), Property = nameof(ConfixComponentListSettings.Format))] + public static T SetFormat(this T o, string v) where T : ConfixComponentListSettings => o.Modify(b => b.Set(() => o.Format, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentListSettings), Property = nameof(ConfixComponentListSettings.Format))] + public static T ResetFormat(this T o) where T : ConfixComponentListSettings => o.Modify(b => b.Remove(() => o.Format)); #endregion #region OutputFile - /// - ///

Sets

- ///

Specifies the output file

- ///
- [Pure] - public static T SetOutputFile(this T toolSettings, string outputFile) where T : ConfixComponentListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = outputFile; - return toolSettings; - } - /// - ///

Resets

- ///

Specifies the output file

- ///
- [Pure] - public static T ResetOutputFile(this T toolSettings) where T : ConfixComponentListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentListSettings), Property = nameof(ConfixComponentListSettings.OutputFile))] + public static T SetOutputFile(this T o, string v) where T : ConfixComponentListSettings => o.Modify(b => b.Set(() => o.OutputFile, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentListSettings), Property = nameof(ConfixComponentListSettings.OutputFile))] + public static T ResetOutputFile(this T o) where T : ConfixComponentListSettings => o.Modify(b => b.Remove(() => o.OutputFile)); #endregion #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixComponentListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixComponentListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentListSettings), Property = nameof(ConfixComponentListSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixComponentListSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentListSettings), Property = nameof(ConfixComponentListSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixComponentListSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region OnlyComponents - /// - ///

Sets

- ///

If you specify this option, only the components will be built.

- ///
- [Pure] - public static T SetOnlyComponents(this T toolSettings, string onlyComponents) where T : ConfixComponentListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OnlyComponents = onlyComponents; - return toolSettings; - } - /// - ///

Resets

- ///

If you specify this option, only the components will be built.

- ///
- [Pure] - public static T ResetOnlyComponents(this T toolSettings) where T : ConfixComponentListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OnlyComponents = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentListSettings), Property = nameof(ConfixComponentListSettings.OnlyComponents))] + public static T SetOnlyComponents(this T o, string v) where T : ConfixComponentListSettings => o.Modify(b => b.Set(() => o.OnlyComponents, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentListSettings), Property = nameof(ConfixComponentListSettings.OnlyComponents))] + public static T ResetOnlyComponents(this T o) where T : ConfixComponentListSettings => o.Modify(b => b.Remove(() => o.OnlyComponents)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixComponentListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixComponentListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentListSettings), Property = nameof(ConfixComponentListSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixComponentListSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentListSettings), Property = nameof(ConfixComponentListSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixComponentListSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixComponentListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixComponentListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentListSettings), Property = nameof(ConfixComponentListSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixComponentListSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentListSettings), Property = nameof(ConfixComponentListSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixComponentListSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixComponentAddSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixComponentAddSettingsExtensions { #region Version - /// - ///

Sets

- ///

Shows the version information

- ///
- [Pure] - public static T SetVersion(this T toolSettings, string version) where T : ConfixComponentAddSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Version = version; - return toolSettings; - } - /// - ///

Resets

- ///

Shows the version information

- ///
- [Pure] - public static T ResetVersion(this T toolSettings) where T : ConfixComponentAddSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Version = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentAddSettings), Property = nameof(ConfixComponentAddSettings.Version))] + public static T SetVersion(this T o, string v) where T : ConfixComponentAddSettings => o.Modify(b => b.Set(() => o.Version, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentAddSettings), Property = nameof(ConfixComponentAddSettings.Version))] + public static T ResetVersion(this T o) where T : ConfixComponentAddSettings => o.Modify(b => b.Remove(() => o.Version)); #endregion #region OutputFile - /// - ///

Sets

- ///

Specifies the output file

- ///
- [Pure] - public static T SetOutputFile(this T toolSettings, string outputFile) where T : ConfixComponentAddSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = outputFile; - return toolSettings; - } - /// - ///

Resets

- ///

Specifies the output file

- ///
- [Pure] - public static T ResetOutputFile(this T toolSettings) where T : ConfixComponentAddSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentAddSettings), Property = nameof(ConfixComponentAddSettings.OutputFile))] + public static T SetOutputFile(this T o, string v) where T : ConfixComponentAddSettings => o.Modify(b => b.Set(() => o.OutputFile, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentAddSettings), Property = nameof(ConfixComponentAddSettings.OutputFile))] + public static T ResetOutputFile(this T o) where T : ConfixComponentAddSettings => o.Modify(b => b.Remove(() => o.OutputFile)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixComponentAddSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixComponentAddSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentAddSettings), Property = nameof(ConfixComponentAddSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixComponentAddSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentAddSettings), Property = nameof(ConfixComponentAddSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixComponentAddSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Name - /// - ///

Sets

- ///

The name of the component

- ///
- [Pure] - public static T SetName(this T toolSettings, string name) where T : ConfixComponentAddSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Name = name; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the component

- ///
- [Pure] - public static T ResetName(this T toolSettings) where T : ConfixComponentAddSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Name = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentAddSettings), Property = nameof(ConfixComponentAddSettings.Name))] + public static T SetName(this T o, string v) where T : ConfixComponentAddSettings => o.Modify(b => b.Set(() => o.Name, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentAddSettings), Property = nameof(ConfixComponentAddSettings.Name))] + public static T ResetName(this T o) where T : ConfixComponentAddSettings => o.Modify(b => b.Remove(() => o.Name)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixComponentAddSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixComponentAddSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixComponentAddSettings), Property = nameof(ConfixComponentAddSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixComponentAddSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixComponentAddSettings), Property = nameof(ConfixComponentAddSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixComponentAddSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixProjectRestoreSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixProjectRestoreSettingsExtensions { #region OutputFile - /// - ///

Sets

- ///

Specifies the output file

- ///
- [Pure] - public static T SetOutputFile(this T toolSettings, string outputFile) where T : ConfixProjectRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = outputFile; - return toolSettings; - } - /// - ///

Resets

- ///

Specifies the output file

- ///
- [Pure] - public static T ResetOutputFile(this T toolSettings) where T : ConfixProjectRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectRestoreSettings), Property = nameof(ConfixProjectRestoreSettings.OutputFile))] + public static T SetOutputFile(this T o, string v) where T : ConfixProjectRestoreSettings => o.Modify(b => b.Set(() => o.OutputFile, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectRestoreSettings), Property = nameof(ConfixProjectRestoreSettings.OutputFile))] + public static T ResetOutputFile(this T o) where T : ConfixProjectRestoreSettings => o.Modify(b => b.Remove(() => o.OutputFile)); #endregion #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixProjectRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixProjectRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectRestoreSettings), Property = nameof(ConfixProjectRestoreSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixProjectRestoreSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectRestoreSettings), Property = nameof(ConfixProjectRestoreSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixProjectRestoreSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region OnlyComponents - /// - ///

Sets

- ///

If you specify this option, only the components will be built.

- ///
- [Pure] - public static T SetOnlyComponents(this T toolSettings, string onlyComponents) where T : ConfixProjectRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OnlyComponents = onlyComponents; - return toolSettings; - } - /// - ///

Resets

- ///

If you specify this option, only the components will be built.

- ///
- [Pure] - public static T ResetOnlyComponents(this T toolSettings) where T : ConfixProjectRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OnlyComponents = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectRestoreSettings), Property = nameof(ConfixProjectRestoreSettings.OnlyComponents))] + public static T SetOnlyComponents(this T o, string v) where T : ConfixProjectRestoreSettings => o.Modify(b => b.Set(() => o.OnlyComponents, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectRestoreSettings), Property = nameof(ConfixProjectRestoreSettings.OnlyComponents))] + public static T ResetOnlyComponents(this T o) where T : ConfixProjectRestoreSettings => o.Modify(b => b.Remove(() => o.OnlyComponents)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixProjectRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixProjectRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectRestoreSettings), Property = nameof(ConfixProjectRestoreSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixProjectRestoreSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectRestoreSettings), Property = nameof(ConfixProjectRestoreSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixProjectRestoreSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixProjectRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixProjectRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectRestoreSettings), Property = nameof(ConfixProjectRestoreSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixProjectRestoreSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectRestoreSettings), Property = nameof(ConfixProjectRestoreSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixProjectRestoreSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixProjectBuildSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixProjectBuildSettingsExtensions { #region NoRestore - /// - ///

Sets

- ///

Disables restoring of schemas

- ///
- [Pure] - public static T SetNoRestore(this T toolSettings, string noRestore) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.NoRestore = noRestore; - return toolSettings; - } - /// - ///

Resets

- ///

Disables restoring of schemas

- ///
- [Pure] - public static T ResetNoRestore(this T toolSettings) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.NoRestore = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.NoRestore))] + public static T SetNoRestore(this T o, string v) where T : ConfixProjectBuildSettings => o.Modify(b => b.Set(() => o.NoRestore, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.NoRestore))] + public static T ResetNoRestore(this T o) where T : ConfixProjectBuildSettings => o.Modify(b => b.Remove(() => o.NoRestore)); #endregion #region OutputFile - /// - ///

Sets

- ///

Specifies the output file

- ///
- [Pure] - public static T SetOutputFile(this T toolSettings, string outputFile) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = outputFile; - return toolSettings; - } - /// - ///

Resets

- ///

Specifies the output file

- ///
- [Pure] - public static T ResetOutputFile(this T toolSettings) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.OutputFile))] + public static T SetOutputFile(this T o, string v) where T : ConfixProjectBuildSettings => o.Modify(b => b.Set(() => o.OutputFile, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.OutputFile))] + public static T ResetOutputFile(this T o) where T : ConfixProjectBuildSettings => o.Modify(b => b.Remove(() => o.OutputFile)); #endregion #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixProjectBuildSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixProjectBuildSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region OnlyComponents - /// - ///

Sets

- ///

If you specify this option, only the components will be built.

- ///
- [Pure] - public static T SetOnlyComponents(this T toolSettings, string onlyComponents) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OnlyComponents = onlyComponents; - return toolSettings; - } - /// - ///

Resets

- ///

If you specify this option, only the components will be built.

- ///
- [Pure] - public static T ResetOnlyComponents(this T toolSettings) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OnlyComponents = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.OnlyComponents))] + public static T SetOnlyComponents(this T o, string v) where T : ConfixProjectBuildSettings => o.Modify(b => b.Set(() => o.OnlyComponents, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.OnlyComponents))] + public static T ResetOnlyComponents(this T o) where T : ConfixProjectBuildSettings => o.Modify(b => b.Remove(() => o.OnlyComponents)); #endregion #region Encrypt - /// - ///

Sets

- ///

Encrypt the output file

- ///
- [Pure] - public static T SetEncrypt(this T toolSettings, string encrypt) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Encrypt = encrypt; - return toolSettings; - } - /// - ///

Resets

- ///

Encrypt the output file

- ///
- [Pure] - public static T ResetEncrypt(this T toolSettings) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Encrypt = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.Encrypt))] + public static T SetEncrypt(this T o, string v) where T : ConfixProjectBuildSettings => o.Modify(b => b.Set(() => o.Encrypt, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.Encrypt))] + public static T ResetEncrypt(this T o) where T : ConfixProjectBuildSettings => o.Modify(b => b.Remove(() => o.Encrypt)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixProjectBuildSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixProjectBuildSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixProjectBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixProjectBuildSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectBuildSettings), Property = nameof(ConfixProjectBuildSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixProjectBuildSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixProjectInitSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixProjectInitSettingsExtensions { #region OutputFile - /// - ///

Sets

- ///

Specifies the output file

- ///
- [Pure] - public static T SetOutputFile(this T toolSettings, string outputFile) where T : ConfixProjectInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = outputFile; - return toolSettings; - } - /// - ///

Resets

- ///

Specifies the output file

- ///
- [Pure] - public static T ResetOutputFile(this T toolSettings) where T : ConfixProjectInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectInitSettings), Property = nameof(ConfixProjectInitSettings.OutputFile))] + public static T SetOutputFile(this T o, string v) where T : ConfixProjectInitSettings => o.Modify(b => b.Set(() => o.OutputFile, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectInitSettings), Property = nameof(ConfixProjectInitSettings.OutputFile))] + public static T ResetOutputFile(this T o) where T : ConfixProjectInitSettings => o.Modify(b => b.Remove(() => o.OutputFile)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixProjectInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixProjectInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectInitSettings), Property = nameof(ConfixProjectInitSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixProjectInitSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectInitSettings), Property = nameof(ConfixProjectInitSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixProjectInitSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixProjectInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixProjectInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectInitSettings), Property = nameof(ConfixProjectInitSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixProjectInitSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectInitSettings), Property = nameof(ConfixProjectInitSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixProjectInitSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixProjectValidateSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixProjectValidateSettingsExtensions { #region OutputFile - /// - ///

Sets

- ///

Specifies the output file

- ///
- [Pure] - public static T SetOutputFile(this T toolSettings, string outputFile) where T : ConfixProjectValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = outputFile; - return toolSettings; - } - /// - ///

Resets

- ///

Specifies the output file

- ///
- [Pure] - public static T ResetOutputFile(this T toolSettings) where T : ConfixProjectValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectValidateSettings), Property = nameof(ConfixProjectValidateSettings.OutputFile))] + public static T SetOutputFile(this T o, string v) where T : ConfixProjectValidateSettings => o.Modify(b => b.Set(() => o.OutputFile, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectValidateSettings), Property = nameof(ConfixProjectValidateSettings.OutputFile))] + public static T ResetOutputFile(this T o) where T : ConfixProjectValidateSettings => o.Modify(b => b.Remove(() => o.OutputFile)); #endregion #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixProjectValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixProjectValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectValidateSettings), Property = nameof(ConfixProjectValidateSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixProjectValidateSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectValidateSettings), Property = nameof(ConfixProjectValidateSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixProjectValidateSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region OnlyComponents - /// - ///

Sets

- ///

If you specify this option, only the components will be built.

- ///
- [Pure] - public static T SetOnlyComponents(this T toolSettings, string onlyComponents) where T : ConfixProjectValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OnlyComponents = onlyComponents; - return toolSettings; - } - /// - ///

Resets

- ///

If you specify this option, only the components will be built.

- ///
- [Pure] - public static T ResetOnlyComponents(this T toolSettings) where T : ConfixProjectValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OnlyComponents = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectValidateSettings), Property = nameof(ConfixProjectValidateSettings.OnlyComponents))] + public static T SetOnlyComponents(this T o, string v) where T : ConfixProjectValidateSettings => o.Modify(b => b.Set(() => o.OnlyComponents, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectValidateSettings), Property = nameof(ConfixProjectValidateSettings.OnlyComponents))] + public static T ResetOnlyComponents(this T o) where T : ConfixProjectValidateSettings => o.Modify(b => b.Remove(() => o.OnlyComponents)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixProjectValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixProjectValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectValidateSettings), Property = nameof(ConfixProjectValidateSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixProjectValidateSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectValidateSettings), Property = nameof(ConfixProjectValidateSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixProjectValidateSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixProjectValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixProjectValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectValidateSettings), Property = nameof(ConfixProjectValidateSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixProjectValidateSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectValidateSettings), Property = nameof(ConfixProjectValidateSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixProjectValidateSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixProjectReportSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixProjectReportSettingsExtensions { #region NoRestore - /// - ///

Sets

- ///

Disables restoring of schemas

- ///
- [Pure] - public static T SetNoRestore(this T toolSettings, string noRestore) where T : ConfixProjectReportSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.NoRestore = noRestore; - return toolSettings; - } - /// - ///

Resets

- ///

Disables restoring of schemas

- ///
- [Pure] - public static T ResetNoRestore(this T toolSettings) where T : ConfixProjectReportSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.NoRestore = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectReportSettings), Property = nameof(ConfixProjectReportSettings.NoRestore))] + public static T SetNoRestore(this T o, string v) where T : ConfixProjectReportSettings => o.Modify(b => b.Set(() => o.NoRestore, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectReportSettings), Property = nameof(ConfixProjectReportSettings.NoRestore))] + public static T ResetNoRestore(this T o) where T : ConfixProjectReportSettings => o.Modify(b => b.Remove(() => o.NoRestore)); #endregion #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixProjectReportSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixProjectReportSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectReportSettings), Property = nameof(ConfixProjectReportSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixProjectReportSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectReportSettings), Property = nameof(ConfixProjectReportSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixProjectReportSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region OutputFile - /// - ///

Sets

- ///

The path to the report file. If not specified, the report will be written to the console.

- ///
- [Pure] - public static T SetOutputFile(this T toolSettings, string outputFile) where T : ConfixProjectReportSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = outputFile; - return toolSettings; - } - /// - ///

Resets

- ///

The path to the report file. If not specified, the report will be written to the console.

- ///
- [Pure] - public static T ResetOutputFile(this T toolSettings) where T : ConfixProjectReportSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectReportSettings), Property = nameof(ConfixProjectReportSettings.OutputFile))] + public static T SetOutputFile(this T o, string v) where T : ConfixProjectReportSettings => o.Modify(b => b.Set(() => o.OutputFile, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectReportSettings), Property = nameof(ConfixProjectReportSettings.OutputFile))] + public static T ResetOutputFile(this T o) where T : ConfixProjectReportSettings => o.Modify(b => b.Remove(() => o.OutputFile)); #endregion #region OnlyComponents - /// - ///

Sets

- ///

If you specify this option, only the components will be built.

- ///
- [Pure] - public static T SetOnlyComponents(this T toolSettings, string onlyComponents) where T : ConfixProjectReportSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OnlyComponents = onlyComponents; - return toolSettings; - } - /// - ///

Resets

- ///

If you specify this option, only the components will be built.

- ///
- [Pure] - public static T ResetOnlyComponents(this T toolSettings) where T : ConfixProjectReportSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OnlyComponents = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectReportSettings), Property = nameof(ConfixProjectReportSettings.OnlyComponents))] + public static T SetOnlyComponents(this T o, string v) where T : ConfixProjectReportSettings => o.Modify(b => b.Set(() => o.OnlyComponents, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectReportSettings), Property = nameof(ConfixProjectReportSettings.OnlyComponents))] + public static T ResetOnlyComponents(this T o) where T : ConfixProjectReportSettings => o.Modify(b => b.Remove(() => o.OnlyComponents)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixProjectReportSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixProjectReportSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectReportSettings), Property = nameof(ConfixProjectReportSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixProjectReportSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectReportSettings), Property = nameof(ConfixProjectReportSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixProjectReportSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixProjectReportSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixProjectReportSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixProjectReportSettings), Property = nameof(ConfixProjectReportSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixProjectReportSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixProjectReportSettings), Property = nameof(ConfixProjectReportSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixProjectReportSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixSolutionRestoreSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixSolutionRestoreSettingsExtensions { #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixSolutionRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixSolutionRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixSolutionRestoreSettings), Property = nameof(ConfixSolutionRestoreSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixSolutionRestoreSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixSolutionRestoreSettings), Property = nameof(ConfixSolutionRestoreSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixSolutionRestoreSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixSolutionRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixSolutionRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixSolutionRestoreSettings), Property = nameof(ConfixSolutionRestoreSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixSolutionRestoreSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixSolutionRestoreSettings), Property = nameof(ConfixSolutionRestoreSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixSolutionRestoreSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixSolutionBuildSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixSolutionBuildSettingsExtensions { #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixSolutionBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixSolutionBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixSolutionBuildSettings), Property = nameof(ConfixSolutionBuildSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixSolutionBuildSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixSolutionBuildSettings), Property = nameof(ConfixSolutionBuildSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixSolutionBuildSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixSolutionBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixSolutionBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixSolutionBuildSettings), Property = nameof(ConfixSolutionBuildSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixSolutionBuildSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixSolutionBuildSettings), Property = nameof(ConfixSolutionBuildSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixSolutionBuildSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixSolutionInitSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixSolutionInitSettingsExtensions { #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixSolutionInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixSolutionInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixSolutionInitSettings), Property = nameof(ConfixSolutionInitSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixSolutionInitSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixSolutionInitSettings), Property = nameof(ConfixSolutionInitSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixSolutionInitSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixSolutionInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixSolutionInitSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixSolutionInitSettings), Property = nameof(ConfixSolutionInitSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixSolutionInitSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixSolutionInitSettings), Property = nameof(ConfixSolutionInitSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixSolutionInitSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixSolutionValidateSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixSolutionValidateSettingsExtensions { #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixSolutionValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixSolutionValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixSolutionValidateSettings), Property = nameof(ConfixSolutionValidateSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixSolutionValidateSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixSolutionValidateSettings), Property = nameof(ConfixSolutionValidateSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixSolutionValidateSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixSolutionValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixSolutionValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixSolutionValidateSettings), Property = nameof(ConfixSolutionValidateSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixSolutionValidateSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixSolutionValidateSettings), Property = nameof(ConfixSolutionValidateSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixSolutionValidateSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixVariableGetSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixVariableGetSettingsExtensions { #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixVariableGetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixVariableGetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableGetSettings), Property = nameof(ConfixVariableGetSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixVariableGetSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableGetSettings), Property = nameof(ConfixVariableGetSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixVariableGetSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region Name - /// - ///

Sets

- ///

The name of the variable

- ///
- [Pure] - public static T SetName(this T toolSettings, string name) where T : ConfixVariableGetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Name = name; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the variable

- ///
- [Pure] - public static T ResetName(this T toolSettings) where T : ConfixVariableGetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Name = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableGetSettings), Property = nameof(ConfixVariableGetSettings.Name))] + public static T SetName(this T o, string v) where T : ConfixVariableGetSettings => o.Modify(b => b.Set(() => o.Name, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableGetSettings), Property = nameof(ConfixVariableGetSettings.Name))] + public static T ResetName(this T o) where T : ConfixVariableGetSettings => o.Modify(b => b.Remove(() => o.Name)); #endregion #region Format - /// - ///

Sets

- ///

Sets the output format

- ///
- [Pure] - public static T SetFormat(this T toolSettings, string format) where T : ConfixVariableGetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Format = format; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the output format

- ///
- [Pure] - public static T ResetFormat(this T toolSettings) where T : ConfixVariableGetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Format = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableGetSettings), Property = nameof(ConfixVariableGetSettings.Format))] + public static T SetFormat(this T o, string v) where T : ConfixVariableGetSettings => o.Modify(b => b.Set(() => o.Format, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableGetSettings), Property = nameof(ConfixVariableGetSettings.Format))] + public static T ResetFormat(this T o) where T : ConfixVariableGetSettings => o.Modify(b => b.Remove(() => o.Format)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixVariableGetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixVariableGetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableGetSettings), Property = nameof(ConfixVariableGetSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixVariableGetSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableGetSettings), Property = nameof(ConfixVariableGetSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixVariableGetSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixVariableGetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixVariableGetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableGetSettings), Property = nameof(ConfixVariableGetSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixVariableGetSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableGetSettings), Property = nameof(ConfixVariableGetSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixVariableGetSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixVariableSetSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixVariableSetSettingsExtensions { #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixVariableSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixVariableSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableSetSettings), Property = nameof(ConfixVariableSetSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixVariableSetSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableSetSettings), Property = nameof(ConfixVariableSetSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixVariableSetSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region Name - /// - ///

Sets

- ///

The name of the variable

- ///
- [Pure] - public static T SetName(this T toolSettings, string name) where T : ConfixVariableSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Name = name; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the variable

- ///
- [Pure] - public static T ResetName(this T toolSettings) where T : ConfixVariableSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Name = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableSetSettings), Property = nameof(ConfixVariableSetSettings.Name))] + public static T SetName(this T o, string v) where T : ConfixVariableSetSettings => o.Modify(b => b.Set(() => o.Name, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableSetSettings), Property = nameof(ConfixVariableSetSettings.Name))] + public static T ResetName(this T o) where T : ConfixVariableSetSettings => o.Modify(b => b.Remove(() => o.Name)); #endregion #region Value - /// - ///

Sets

- ///

The value of the variable

- ///
- [Pure] - public static T SetValue(this T toolSettings, string value) where T : ConfixVariableSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Value = value; - return toolSettings; - } - /// - ///

Resets

- ///

The value of the variable

- ///
- [Pure] - public static T ResetValue(this T toolSettings) where T : ConfixVariableSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Value = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableSetSettings), Property = nameof(ConfixVariableSetSettings.Value))] + public static T SetValue(this T o, string v) where T : ConfixVariableSetSettings => o.Modify(b => b.Set(() => o.Value, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableSetSettings), Property = nameof(ConfixVariableSetSettings.Value))] + public static T ResetValue(this T o) where T : ConfixVariableSetSettings => o.Modify(b => b.Remove(() => o.Value)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixVariableSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixVariableSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableSetSettings), Property = nameof(ConfixVariableSetSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixVariableSetSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableSetSettings), Property = nameof(ConfixVariableSetSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixVariableSetSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixVariableSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixVariableSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableSetSettings), Property = nameof(ConfixVariableSetSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixVariableSetSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableSetSettings), Property = nameof(ConfixVariableSetSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixVariableSetSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixVariableListSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixVariableListSettingsExtensions { #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixVariableListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixVariableListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableListSettings), Property = nameof(ConfixVariableListSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixVariableListSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableListSettings), Property = nameof(ConfixVariableListSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixVariableListSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region Provider - /// - ///

Sets

- ///

The name of the provider to resolve the variable from

- ///
- [Pure] - public static T SetProvider(this T toolSettings, string provider) where T : ConfixVariableListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Provider = provider; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the provider to resolve the variable from

- ///
- [Pure] - public static T ResetProvider(this T toolSettings) where T : ConfixVariableListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Provider = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableListSettings), Property = nameof(ConfixVariableListSettings.Provider))] + public static T SetProvider(this T o, string v) where T : ConfixVariableListSettings => o.Modify(b => b.Set(() => o.Provider, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableListSettings), Property = nameof(ConfixVariableListSettings.Provider))] + public static T ResetProvider(this T o) where T : ConfixVariableListSettings => o.Modify(b => b.Remove(() => o.Provider)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixVariableListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixVariableListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableListSettings), Property = nameof(ConfixVariableListSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixVariableListSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableListSettings), Property = nameof(ConfixVariableListSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixVariableListSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixVariableListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixVariableListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableListSettings), Property = nameof(ConfixVariableListSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixVariableListSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableListSettings), Property = nameof(ConfixVariableListSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixVariableListSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixVariableCopySettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixVariableCopySettingsExtensions { #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixVariableCopySettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixVariableCopySettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableCopySettings), Property = nameof(ConfixVariableCopySettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixVariableCopySettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableCopySettings), Property = nameof(ConfixVariableCopySettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixVariableCopySettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region From - /// - ///

Sets

- ///

The name of the new variable

- ///
- [Pure] - public static T SetFrom(this T toolSettings, string from) where T : ConfixVariableCopySettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.From = from; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the new variable

- ///
- [Pure] - public static T ResetFrom(this T toolSettings) where T : ConfixVariableCopySettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.From = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableCopySettings), Property = nameof(ConfixVariableCopySettings.From))] + public static T SetFrom(this T o, string v) where T : ConfixVariableCopySettings => o.Modify(b => b.Set(() => o.From, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableCopySettings), Property = nameof(ConfixVariableCopySettings.From))] + public static T ResetFrom(this T o) where T : ConfixVariableCopySettings => o.Modify(b => b.Remove(() => o.From)); #endregion #region To - /// - ///

Sets

- ///

The name of the new variable

- ///
- [Pure] - public static T SetTo(this T toolSettings, string to) where T : ConfixVariableCopySettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.To = to; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the new variable

- ///
- [Pure] - public static T ResetTo(this T toolSettings) where T : ConfixVariableCopySettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.To = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableCopySettings), Property = nameof(ConfixVariableCopySettings.To))] + public static T SetTo(this T o, string v) where T : ConfixVariableCopySettings => o.Modify(b => b.Set(() => o.To, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableCopySettings), Property = nameof(ConfixVariableCopySettings.To))] + public static T ResetTo(this T o) where T : ConfixVariableCopySettings => o.Modify(b => b.Remove(() => o.To)); #endregion #region ToEnvironment - /// - ///

Sets

- ///

The name of the environment you want to migrate the variable to

- ///
- [Pure] - public static T SetToEnvironment(this T toolSettings, string toEnvironment) where T : ConfixVariableCopySettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.ToEnvironment = toEnvironment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment you want to migrate the variable to

- ///
- [Pure] - public static T ResetToEnvironment(this T toolSettings) where T : ConfixVariableCopySettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.ToEnvironment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableCopySettings), Property = nameof(ConfixVariableCopySettings.ToEnvironment))] + public static T SetToEnvironment(this T o, string v) where T : ConfixVariableCopySettings => o.Modify(b => b.Set(() => o.ToEnvironment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableCopySettings), Property = nameof(ConfixVariableCopySettings.ToEnvironment))] + public static T ResetToEnvironment(this T o) where T : ConfixVariableCopySettings => o.Modify(b => b.Remove(() => o.ToEnvironment)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixVariableCopySettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixVariableCopySettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableCopySettings), Property = nameof(ConfixVariableCopySettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixVariableCopySettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableCopySettings), Property = nameof(ConfixVariableCopySettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixVariableCopySettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixVariableCopySettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixVariableCopySettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixVariableCopySettings), Property = nameof(ConfixVariableCopySettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixVariableCopySettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixVariableCopySettings), Property = nameof(ConfixVariableCopySettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixVariableCopySettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixBuildSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixBuildSettingsExtensions { #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixBuildSettings), Property = nameof(ConfixBuildSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixBuildSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixBuildSettings), Property = nameof(ConfixBuildSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixBuildSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region OutputFile - /// - ///

Sets

- ///

Specifies the output file

- ///
- [Pure] - public static T SetOutputFile(this T toolSettings, string outputFile) where T : ConfixBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = outputFile; - return toolSettings; - } - /// - ///

Resets

- ///

Specifies the output file

- ///
- [Pure] - public static T ResetOutputFile(this T toolSettings) where T : ConfixBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutputFile = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixBuildSettings), Property = nameof(ConfixBuildSettings.OutputFile))] + public static T SetOutputFile(this T o, string v) where T : ConfixBuildSettings => o.Modify(b => b.Set(() => o.OutputFile, v)); + /// + [Pure] [Builder(Type = typeof(ConfixBuildSettings), Property = nameof(ConfixBuildSettings.OutputFile))] + public static T ResetOutputFile(this T o) where T : ConfixBuildSettings => o.Modify(b => b.Remove(() => o.OutputFile)); #endregion #region Encrypt - /// - ///

Sets

- ///

Encrypt the output file

- ///
- [Pure] - public static T SetEncrypt(this T toolSettings, string encrypt) where T : ConfixBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Encrypt = encrypt; - return toolSettings; - } - /// - ///

Resets

- ///

Encrypt the output file

- ///
- [Pure] - public static T ResetEncrypt(this T toolSettings) where T : ConfixBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Encrypt = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixBuildSettings), Property = nameof(ConfixBuildSettings.Encrypt))] + public static T SetEncrypt(this T o, string v) where T : ConfixBuildSettings => o.Modify(b => b.Set(() => o.Encrypt, v)); + /// + [Pure] [Builder(Type = typeof(ConfixBuildSettings), Property = nameof(ConfixBuildSettings.Encrypt))] + public static T ResetEncrypt(this T o) where T : ConfixBuildSettings => o.Modify(b => b.Remove(() => o.Encrypt)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixBuildSettings), Property = nameof(ConfixBuildSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixBuildSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixBuildSettings), Property = nameof(ConfixBuildSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixBuildSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixBuildSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixBuildSettings), Property = nameof(ConfixBuildSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixBuildSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixBuildSettings), Property = nameof(ConfixBuildSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixBuildSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixRestoreSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixRestoreSettingsExtensions { #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixRestoreSettings), Property = nameof(ConfixRestoreSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixRestoreSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixRestoreSettings), Property = nameof(ConfixRestoreSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixRestoreSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixRestoreSettings), Property = nameof(ConfixRestoreSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixRestoreSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixRestoreSettings), Property = nameof(ConfixRestoreSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixRestoreSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixRestoreSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixRestoreSettings), Property = nameof(ConfixRestoreSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixRestoreSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixRestoreSettings), Property = nameof(ConfixRestoreSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixRestoreSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixValidateSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixValidateSettingsExtensions { #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixValidateSettings), Property = nameof(ConfixValidateSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixValidateSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixValidateSettings), Property = nameof(ConfixValidateSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixValidateSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixValidateSettings), Property = nameof(ConfixValidateSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixValidateSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixValidateSettings), Property = nameof(ConfixValidateSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixValidateSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixValidateSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixValidateSettings), Property = nameof(ConfixValidateSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixValidateSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixValidateSettings), Property = nameof(ConfixValidateSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixValidateSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixEncryptSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixEncryptSettingsExtensions { #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixEncryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixEncryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixEncryptSettings), Property = nameof(ConfixEncryptSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixEncryptSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixEncryptSettings), Property = nameof(ConfixEncryptSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixEncryptSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixEncryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixEncryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixEncryptSettings), Property = nameof(ConfixEncryptSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixEncryptSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixEncryptSettings), Property = nameof(ConfixEncryptSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixEncryptSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region InputFile - /// - ///

Sets

- ///

The path to the file to encrypt or decrypt.

- ///
- [Pure] - public static T SetInputFile(this T toolSettings, string inputFile) where T : ConfixEncryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.InputFile = inputFile; - return toolSettings; - } - /// - ///

Resets

- ///

The path to the file to encrypt or decrypt.

- ///
- [Pure] - public static T ResetInputFile(this T toolSettings) where T : ConfixEncryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.InputFile = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixEncryptSettings), Property = nameof(ConfixEncryptSettings.InputFile))] + public static T SetInputFile(this T o, string v) where T : ConfixEncryptSettings => o.Modify(b => b.Set(() => o.InputFile, v)); + /// + [Pure] [Builder(Type = typeof(ConfixEncryptSettings), Property = nameof(ConfixEncryptSettings.InputFile))] + public static T ResetInputFile(this T o) where T : ConfixEncryptSettings => o.Modify(b => b.Remove(() => o.InputFile)); #endregion #region OutFile - /// - ///

Sets

- ///

The file to write the encrypted or decrypted data to. If not provided the input file will be overwritten. Existing files will be overwritten.

- ///
- [Pure] - public static T SetOutFile(this T toolSettings, string outFile) where T : ConfixEncryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutFile = outFile; - return toolSettings; - } - /// - ///

Resets

- ///

The file to write the encrypted or decrypted data to. If not provided the input file will be overwritten. Existing files will be overwritten.

- ///
- [Pure] - public static T ResetOutFile(this T toolSettings) where T : ConfixEncryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutFile = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixEncryptSettings), Property = nameof(ConfixEncryptSettings.OutFile))] + public static T SetOutFile(this T o, string v) where T : ConfixEncryptSettings => o.Modify(b => b.Set(() => o.OutFile, v)); + /// + [Pure] [Builder(Type = typeof(ConfixEncryptSettings), Property = nameof(ConfixEncryptSettings.OutFile))] + public static T ResetOutFile(this T o) where T : ConfixEncryptSettings => o.Modify(b => b.Remove(() => o.OutFile)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixEncryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixEncryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixEncryptSettings), Property = nameof(ConfixEncryptSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixEncryptSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixEncryptSettings), Property = nameof(ConfixEncryptSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixEncryptSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixDecryptSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixDecryptSettingsExtensions { #region Environment - /// - ///

Sets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T SetEnvironment(this T toolSettings, string environment) where T : ConfixDecryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = environment; - return toolSettings; - } - /// - ///

Resets

- ///

The name of the environment to run the command in. Overrules the active environment set in .confixrc

- ///
- [Pure] - public static T ResetEnvironment(this T toolSettings) where T : ConfixDecryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Environment = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixDecryptSettings), Property = nameof(ConfixDecryptSettings.Environment))] + public static T SetEnvironment(this T o, string v) where T : ConfixDecryptSettings => o.Modify(b => b.Set(() => o.Environment, v)); + /// + [Pure] [Builder(Type = typeof(ConfixDecryptSettings), Property = nameof(ConfixDecryptSettings.Environment))] + public static T ResetEnvironment(this T o) where T : ConfixDecryptSettings => o.Modify(b => b.Remove(() => o.Environment)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixDecryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixDecryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixDecryptSettings), Property = nameof(ConfixDecryptSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixDecryptSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixDecryptSettings), Property = nameof(ConfixDecryptSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixDecryptSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region InputFile - /// - ///

Sets

- ///

The path to the file to encrypt or decrypt.

- ///
- [Pure] - public static T SetInputFile(this T toolSettings, string inputFile) where T : ConfixDecryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.InputFile = inputFile; - return toolSettings; - } - /// - ///

Resets

- ///

The path to the file to encrypt or decrypt.

- ///
- [Pure] - public static T ResetInputFile(this T toolSettings) where T : ConfixDecryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.InputFile = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixDecryptSettings), Property = nameof(ConfixDecryptSettings.InputFile))] + public static T SetInputFile(this T o, string v) where T : ConfixDecryptSettings => o.Modify(b => b.Set(() => o.InputFile, v)); + /// + [Pure] [Builder(Type = typeof(ConfixDecryptSettings), Property = nameof(ConfixDecryptSettings.InputFile))] + public static T ResetInputFile(this T o) where T : ConfixDecryptSettings => o.Modify(b => b.Remove(() => o.InputFile)); #endregion #region OutFile - /// - ///

Sets

- ///

The file to write the encrypted or decrypted data to. If not provided the input file will be overwritten. Existing files will be overwritten.

- ///
- [Pure] - public static T SetOutFile(this T toolSettings, string outFile) where T : ConfixDecryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutFile = outFile; - return toolSettings; - } - /// - ///

Resets

- ///

The file to write the encrypted or decrypted data to. If not provided the input file will be overwritten. Existing files will be overwritten.

- ///
- [Pure] - public static T ResetOutFile(this T toolSettings) where T : ConfixDecryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.OutFile = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixDecryptSettings), Property = nameof(ConfixDecryptSettings.OutFile))] + public static T SetOutFile(this T o, string v) where T : ConfixDecryptSettings => o.Modify(b => b.Set(() => o.OutFile, v)); + /// + [Pure] [Builder(Type = typeof(ConfixDecryptSettings), Property = nameof(ConfixDecryptSettings.OutFile))] + public static T ResetOutFile(this T o) where T : ConfixDecryptSettings => o.Modify(b => b.Remove(() => o.OutFile)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixDecryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixDecryptSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixDecryptSettings), Property = nameof(ConfixDecryptSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixDecryptSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixDecryptSettings), Property = nameof(ConfixDecryptSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixDecryptSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixConfigShowSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixConfigShowSettingsExtensions { #region Format - /// - ///

Sets

- ///

Sets the output format

- ///
- [Pure] - public static T SetFormat(this T toolSettings, string format) where T : ConfixConfigShowSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Format = format; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the output format

- ///
- [Pure] - public static T ResetFormat(this T toolSettings) where T : ConfixConfigShowSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Format = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixConfigShowSettings), Property = nameof(ConfixConfigShowSettings.Format))] + public static T SetFormat(this T o, string v) where T : ConfixConfigShowSettings => o.Modify(b => b.Set(() => o.Format, v)); + /// + [Pure] [Builder(Type = typeof(ConfixConfigShowSettings), Property = nameof(ConfixConfigShowSettings.Format))] + public static T ResetFormat(this T o) where T : ConfixConfigShowSettings => o.Modify(b => b.Remove(() => o.Format)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixConfigShowSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixConfigShowSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixConfigShowSettings), Property = nameof(ConfixConfigShowSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixConfigShowSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixConfigShowSettings), Property = nameof(ConfixConfigShowSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixConfigShowSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixConfigShowSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixConfigShowSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixConfigShowSettings), Property = nameof(ConfixConfigShowSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixConfigShowSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixConfigShowSettings), Property = nameof(ConfixConfigShowSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixConfigShowSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixConfigSetSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixConfigSetSettingsExtensions { #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixConfigSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixConfigSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixConfigSetSettings), Property = nameof(ConfixConfigSetSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixConfigSetSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixConfigSetSettings), Property = nameof(ConfixConfigSetSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixConfigSetSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Path - /// - ///

Sets

- ///

The path to the configuration file

- ///
- [Pure] - public static T SetPath(this T toolSettings, string path) where T : ConfixConfigSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Path = path; - return toolSettings; - } - /// - ///

Resets

- ///

The path to the configuration file

- ///
- [Pure] - public static T ResetPath(this T toolSettings) where T : ConfixConfigSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Path = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixConfigSetSettings), Property = nameof(ConfixConfigSetSettings.Path))] + public static T SetPath(this T o, string v) where T : ConfixConfigSetSettings => o.Modify(b => b.Set(() => o.Path, v)); + /// + [Pure] [Builder(Type = typeof(ConfixConfigSetSettings), Property = nameof(ConfixConfigSetSettings.Path))] + public static T ResetPath(this T o) where T : ConfixConfigSetSettings => o.Modify(b => b.Remove(() => o.Path)); #endregion #region Value - /// - ///

Sets

- ///

The value to set as json

- ///
- [Pure] - public static T SetValue(this T toolSettings, string value) where T : ConfixConfigSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Value = value; - return toolSettings; - } - /// - ///

Resets

- ///

The value to set as json

- ///
- [Pure] - public static T ResetValue(this T toolSettings) where T : ConfixConfigSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Value = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixConfigSetSettings), Property = nameof(ConfixConfigSetSettings.Value))] + public static T SetValue(this T o, string v) where T : ConfixConfigSetSettings => o.Modify(b => b.Set(() => o.Value, v)); + /// + [Pure] [Builder(Type = typeof(ConfixConfigSetSettings), Property = nameof(ConfixConfigSetSettings.Value))] + public static T ResetValue(this T o) where T : ConfixConfigSetSettings => o.Modify(b => b.Remove(() => o.Value)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixConfigSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixConfigSetSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixConfigSetSettings), Property = nameof(ConfixConfigSetSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixConfigSetSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixConfigSetSettings), Property = nameof(ConfixConfigSetSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixConfigSetSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion #region ConfixConfigListSettingsExtensions -/// -/// Used within . -/// +/// Used within . [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixConfigListSettingsExtensions { #region Format - /// - ///

Sets

- ///

Sets the output format

- ///
- [Pure] - public static T SetFormat(this T toolSettings, string format) where T : ConfixConfigListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Format = format; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the output format

- ///
- [Pure] - public static T ResetFormat(this T toolSettings) where T : ConfixConfigListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Format = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixConfigListSettings), Property = nameof(ConfixConfigListSettings.Format))] + public static T SetFormat(this T o, string v) where T : ConfixConfigListSettings => o.Modify(b => b.Set(() => o.Format, v)); + /// + [Pure] [Builder(Type = typeof(ConfixConfigListSettings), Property = nameof(ConfixConfigListSettings.Format))] + public static T ResetFormat(this T o) where T : ConfixConfigListSettings => o.Modify(b => b.Remove(() => o.Format)); #endregion #region Verbosity - /// - ///

Sets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T SetVerbosity(this T toolSettings, string verbosity) where T : ConfixConfigListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = verbosity; - return toolSettings; - } - /// - ///

Resets

- ///

Sets the verbosity level

- ///
- [Pure] - public static T ResetVerbosity(this T toolSettings) where T : ConfixConfigListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Verbosity = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixConfigListSettings), Property = nameof(ConfixConfigListSettings.Verbosity))] + public static T SetVerbosity(this T o, string v) where T : ConfixConfigListSettings => o.Modify(b => b.Set(() => o.Verbosity, v)); + /// + [Pure] [Builder(Type = typeof(ConfixConfigListSettings), Property = nameof(ConfixConfigListSettings.Verbosity))] + public static T ResetVerbosity(this T o) where T : ConfixConfigListSettings => o.Modify(b => b.Remove(() => o.Verbosity)); #endregion #region Framework - /// - ///

Sets

- ///
- [Pure] - public static T SetFramework(this T toolSettings, string framework) where T : ConfixConfigListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = framework; - return toolSettings; - } - /// - ///

Resets

- ///
- [Pure] - public static T ResetFramework(this T toolSettings) where T : ConfixConfigListSettings - { - toolSettings = toolSettings.NewInstance(); - toolSettings.Framework = null; - return toolSettings; - } + /// + [Pure] [Builder(Type = typeof(ConfixConfigListSettings), Property = nameof(ConfixConfigListSettings.Framework))] + public static T SetFramework(this T o, string v) where T : ConfixConfigListSettings => o.Modify(b => b.Set(() => o.Framework, v)); + /// + [Pure] [Builder(Type = typeof(ConfixConfigListSettings), Property = nameof(ConfixConfigListSettings.Framework))] + public static T ResetFramework(this T o) where T : ConfixConfigListSettings => o.Modify(b => b.Remove(() => o.Framework)); #endregion } #endregion diff --git a/src/Confix.Tool/src/Confix.Nuke/ConfixTasks.cs b/src/Confix.Tool/src/Confix.Nuke/ConfixTasks.cs index 4096339..f3acd81 100644 --- a/src/Confix.Tool/src/Confix.Nuke/ConfixTasks.cs +++ b/src/Confix.Tool/src/Confix.Nuke/ConfixTasks.cs @@ -2,8 +2,12 @@ namespace Confix.Nuke; -public static partial class ConfixTasks +[NuGetTool(Id = PackageId, Executable = Executable)] +public partial class ConfixTasks { + public const string PackageId = "Confix"; + public const string Executable = "Confix.dll"; + public static void CustomLogger(OutputType outputType, string message) { if (!string.IsNullOrWhiteSpace(message)) @@ -12,11 +16,11 @@ public static void CustomLogger(OutputType outputType, string message) } } - internal static string GetToolPath(string? framework = null) + internal string GetToolPath(string? framework = null) { return NuGetToolPathResolver.GetPackageExecutable( - packageId: "Confix", - packageExecutable: "Confix.dll", + packageId: PackageId, + packageExecutable: Executable, framework: framework); } } @@ -25,7 +29,7 @@ public partial class ConfixComponentBuildSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -33,7 +37,7 @@ public partial class ConfixComponentAddSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -41,7 +45,7 @@ public partial class ConfixComponentInitSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -49,7 +53,7 @@ public partial class ConfixProjectRestoreSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -57,7 +61,7 @@ public partial class ConfixProjectBuildSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -65,7 +69,7 @@ public partial class ConfixProjectInitSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -73,7 +77,7 @@ public partial class ConfixProjectValidateSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -81,7 +85,7 @@ public partial class ConfixSolutionRestoreSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -89,7 +93,7 @@ public partial class ConfixSolutionBuildSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -97,7 +101,7 @@ public partial class ConfixSolutionInitSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -105,7 +109,7 @@ public partial class ConfixSolutionValidateSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -113,7 +117,7 @@ public partial class ConfixVariableGetSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -121,7 +125,7 @@ public partial class ConfixVariableSetSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -129,7 +133,7 @@ public partial class ConfixVariableListSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -137,7 +141,7 @@ public partial class ConfixVariableCopySettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -145,7 +149,7 @@ public partial class ConfixBuildSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -153,7 +157,7 @@ public partial class ConfixComponentListSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -161,7 +165,7 @@ public partial class ConfixRestoreSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -169,7 +173,7 @@ public partial class ConfixValidateSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -177,7 +181,7 @@ public partial class ConfixEncryptSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -185,7 +189,7 @@ public partial class ConfixDecryptSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -193,7 +197,7 @@ public partial class ConfixConfigShowSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -201,7 +205,7 @@ public partial class ConfixConfigSetSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -209,7 +213,7 @@ public partial class ConfixConfigListSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } @@ -217,6 +221,6 @@ public partial class ConfixProjectReportSettings { private string GetProcessToolPath() { - return ConfixTasks.GetToolPath(Framework); + return new ConfixTasks().GetToolPath(Framework); } } diff --git a/src/Confix.Tool/test/Confix.Tool.Tests/Commands/Component/__snapshots__/__mismatch__/ComponentListCommandTests.Should_OutputComponentList_When_Provider.snap b/src/Confix.Tool/test/Confix.Tool.Tests/Commands/Component/__snapshots__/__mismatch__/ComponentListCommandTests.Should_OutputComponentList_When_Provider.snap deleted file mode 100644 index ea723e6..0000000 --- a/src/Confix.Tool/test/Confix.Tool.Tests/Commands/Component/__snapshots__/__mismatch__/ComponentListCommandTests.Should_OutputComponentList_When_Provider.snap +++ /dev/null @@ -1,51 +0,0 @@ --------------------------------------------------- -### CLI Output --------------------------------------------------- - Configuration files of type .confixrc located at <>/home/.confixrc - Configuration files of type .confix.solution located at <>/content/.confix.solution - Configuration files of type .confix.solution located at <>/content/.confix.project - Merged .confix.solution from .confixrc - Merged .confix.project from .confix.solution - Merged .confix.component from .confix.solution -✓ Running in scope Project -✓ Configuration loaded -✓ Active Environment is prod - Component detected:test <>/content/confix/components/test/.confix.component - Configuration files of type .confixrc located at <>/home/.confixrc - Configuration files of type .confix.solution located at <>/content/.confix.solution - Configuration files of type .confix.solution located at <>/content/.confix.project - Configuration files of type .confix.component located at <>/content/confix/components/test/.confix.component - Merged .confix.solution from .confixrc - Merged .confix.project from .confix.solution - Merged .confix.component from .confix.solution -✓ Running in scope Component -✓ Configuration loaded - Component input 'graphql' loaded - Component input 'dotnet' loaded -✓ Component inputs loaded - Building component... - Searching in '<>/content/confix/components/test/schema.graphql' for GraphQL Schema - -> <>/content/confix/components/test/schema.graphql - GraphQL Schema was found: '<>/content/confix/components/test/schema.graphql' <>/content/confix/components/test/schema.graphql - Replacing existing schema.json file: '<>/content/confix/components/test/schema.json' <>/content/confix/components/test/schema.json - Generated schema based on GraphQL Schema:'<>/content/confix/components/test/schema.json' <>/content/confix/components/test/schema.json - Found .NET project:'<>/content/Confix.csproj' <>/content/Confix.csproj - Ensuring embedded is in the csproj file '<>/content/Confix.csproj' - EmbeddedResource '$(MSBuildProjectDirectory)/confix/components/**/*.*' already exists in the csproj file - Building component completed - Component provider 'dotnet-package' loaded -✓ Component inputs loaded - Start loading components from project '.' - Found .NET project:'<>/content/Confix.csproj' <>/content/Confix.csproj - Found assembly: Confix - Scanning assembly: Confix - Found manifest resource in assembly 'Confix.confix.components.test..confix.component': Confix - Found manifest resource in assembly 'Confix.confix.components.test.schema.graphql': Confix - Found manifest resource in assembly 'Confix.confix.components.test.schema.json': Confix - Found component test in provider __LOCAL - Skipped component test because it was already discovered by dotnet-package - Start loading components from project '.' -✓ Loaded 1 components - - @dotnet-package/test - Skipping IntelliJ IDEA settings file as there is no .idea folder in the solution root. Expected location: <>/content/.idea -