diff --git a/Directory.Packages.props b/Directory.Packages.props index 1e56346..7b8e8e8 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -9,9 +9,9 @@ - - - + + + 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 c05ed1c..86b0f8f 100644 --- a/src/Confix.Tool/src/Confix.Nuke/Confix.Tool.Generated.cs +++ b/src/Confix.Tool/src/Confix.Nuke/Confix.Tool.Generated.cs @@ -16,1673 +16,4904 @@ namespace Confix.Nuke; -///

For more details, visit the official website.

+/// +///

For more details, visit the official website.

+///
[PublicAPI] [ExcludeFromCodeCoverage] -public partial class ConfixTasks : ToolTasks +public partial class ConfixTasks { - 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); + /// + /// 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); + } } #region ConfixComponentBuildSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixComponentBuild), Arguments = "component build")] -public partial class ConfixComponentBuildSettings : ToolOptions +[Serializable] +public partial class ConfixComponentBuildSettings : ToolSettings { - /// Sets the verbosity level - [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); - /// - public string Framework => Get(() => Framework); + /// + /// 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); + } } #endregion #region ConfixComponentInitSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixComponentInit), Arguments = "component init")] -public partial class ConfixComponentInitSettings : ToolOptions +[Serializable] +public partial class ConfixComponentInitSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixComponentListSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixComponentList), Arguments = "component list")] -public partial class ConfixComponentListSettings : ToolOptions +[Serializable] +public partial class ConfixComponentListSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixComponentAddSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixComponentAdd), Arguments = "component add")] -public partial class ConfixComponentAddSettings : ToolOptions +[Serializable] +public partial class ConfixComponentAddSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixProjectRestoreSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixProjectRestore), Arguments = "project restore")] -public partial class ConfixProjectRestoreSettings : ToolOptions +[Serializable] +public partial class ConfixProjectRestoreSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixProjectBuildSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixProjectBuild), Arguments = "project build")] -public partial class ConfixProjectBuildSettings : ToolOptions +[Serializable] +public partial class ConfixProjectBuildSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixProjectInitSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixProjectInit), Arguments = "project init")] -public partial class ConfixProjectInitSettings : ToolOptions +[Serializable] +public partial class ConfixProjectInitSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixProjectValidateSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixProjectValidate), Arguments = "project validate")] -public partial class ConfixProjectValidateSettings : ToolOptions +[Serializable] +public partial class ConfixProjectValidateSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixProjectReportSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixProjectReport), Arguments = "project report")] -public partial class ConfixProjectReportSettings : ToolOptions +[Serializable] +public partial class ConfixProjectReportSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixSolutionRestoreSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixSolutionRestore), Arguments = "solution restore")] -public partial class ConfixSolutionRestoreSettings : ToolOptions +[Serializable] +public partial class ConfixSolutionRestoreSettings : ToolSettings { - /// Sets the verbosity level - [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); - /// - public string Framework => Get(() => Framework); + /// + /// 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); + } } #endregion #region ConfixSolutionBuildSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixSolutionBuild), Arguments = "solution build")] -public partial class ConfixSolutionBuildSettings : ToolOptions +[Serializable] +public partial class ConfixSolutionBuildSettings : ToolSettings { - /// Sets the verbosity level - [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); - /// - public string Framework => Get(() => Framework); + /// + /// 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); + } } #endregion #region ConfixSolutionInitSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixSolutionInit), Arguments = "solution init")] -public partial class ConfixSolutionInitSettings : ToolOptions +[Serializable] +public partial class ConfixSolutionInitSettings : ToolSettings { - /// Sets the verbosity level - [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); - /// - public string Framework => Get(() => Framework); + /// + /// 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); + } } #endregion #region ConfixSolutionValidateSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixSolutionValidate), Arguments = "solution validate")] -public partial class ConfixSolutionValidateSettings : ToolOptions +[Serializable] +public partial class ConfixSolutionValidateSettings : ToolSettings { - /// Sets the verbosity level - [Argument(Format = "--verbosity {value}")] public string Verbosity => Get(() => Verbosity); - /// - public string Framework => Get(() => Framework); + /// + /// 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); + } } #endregion #region ConfixVariableGetSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixVariableGet), Arguments = "variable get")] -public partial class ConfixVariableGetSettings : ToolOptions +[Serializable] +public partial class ConfixVariableGetSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixVariableSetSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixVariableSet), Arguments = "variable set")] -public partial class ConfixVariableSetSettings : ToolOptions +[Serializable] +public partial class ConfixVariableSetSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixVariableListSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixVariableList), Arguments = "variable list")] -public partial class ConfixVariableListSettings : ToolOptions +[Serializable] +public partial class ConfixVariableListSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixVariableCopySettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixVariableCopy), Arguments = "variable copy")] -public partial class ConfixVariableCopySettings : ToolOptions +[Serializable] +public partial class ConfixVariableCopySettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixBuildSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixBuild), Arguments = "build")] -public partial class ConfixBuildSettings : ToolOptions +[Serializable] +public partial class ConfixBuildSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixRestoreSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixRestore), Arguments = "restore")] -public partial class ConfixRestoreSettings : ToolOptions +[Serializable] +public partial class ConfixRestoreSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixValidateSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixValidate), Arguments = "validate")] -public partial class ConfixValidateSettings : ToolOptions +[Serializable] +public partial class ConfixValidateSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixEncryptSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixEncrypt), Arguments = "encrypt")] -public partial class ConfixEncryptSettings : ToolOptions +[Serializable] +public partial class ConfixEncryptSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixDecryptSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixDecrypt), Arguments = "decrypt")] -public partial class ConfixDecryptSettings : ToolOptions +[Serializable] +public partial class ConfixDecryptSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixConfigShowSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixConfigShow), Arguments = "config show")] -public partial class ConfixConfigShowSettings : ToolOptions +[Serializable] +public partial class ConfixConfigShowSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixConfigSetSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixConfigSet), Arguments = "config set")] -public partial class ConfixConfigSetSettings : ToolOptions +[Serializable] +public partial class ConfixConfigSetSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixConfigListSettings -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] -[Command(Type = typeof(ConfixTasks), Command = nameof(ConfixTasks.ConfixConfigList), Arguments = "config list")] -public partial class ConfixConfigListSettings : ToolOptions +[Serializable] +public partial class ConfixConfigListSettings : ToolSettings { - /// 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); + /// + /// 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); + } } #endregion #region ConfixComponentBuildSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixComponentBuildSettingsExtensions { #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixComponentInitSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixComponentInitSettingsExtensions { #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Name - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixComponentListSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixComponentListSettingsExtensions { #region Format - /// - [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)); + /// + ///

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; + } #endregion #region OutputFile - /// - [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)); + /// + ///

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; + } #endregion #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region OnlyComponents - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixComponentAddSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixComponentAddSettingsExtensions { #region Version - /// - [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)); + /// + ///

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; + } #endregion #region OutputFile - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Name - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixProjectRestoreSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixProjectRestoreSettingsExtensions { #region OutputFile - /// - [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)); + /// + ///

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; + } #endregion #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region OnlyComponents - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixProjectBuildSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixProjectBuildSettingsExtensions { #region NoRestore - /// - [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)); + /// + ///

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; + } #endregion #region OutputFile - /// - [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)); + /// + ///

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; + } #endregion #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region OnlyComponents - /// - [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)); + /// + ///

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; + } #endregion #region Encrypt - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixProjectInitSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixProjectInitSettingsExtensions { #region OutputFile - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixProjectValidateSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixProjectValidateSettingsExtensions { #region OutputFile - /// - [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)); + /// + ///

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; + } #endregion #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region OnlyComponents - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixProjectReportSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixProjectReportSettingsExtensions { #region NoRestore - /// - [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)); + /// + ///

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; + } #endregion #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region OutputFile - /// - [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)); + /// + ///

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; + } #endregion #region OnlyComponents - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixSolutionRestoreSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixSolutionRestoreSettingsExtensions { #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixSolutionBuildSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixSolutionBuildSettingsExtensions { #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixSolutionInitSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixSolutionInitSettingsExtensions { #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixSolutionValidateSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixSolutionValidateSettingsExtensions { #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixVariableGetSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixVariableGetSettingsExtensions { #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region Name - /// - [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)); + /// + ///

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; + } #endregion #region Format - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixVariableSetSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixVariableSetSettingsExtensions { #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region Name - /// - [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)); + /// + ///

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; + } #endregion #region Value - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixVariableListSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixVariableListSettingsExtensions { #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region Provider - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixVariableCopySettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixVariableCopySettingsExtensions { #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region From - /// - [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)); + /// + ///

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; + } #endregion #region To - /// - [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)); + /// + ///

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; + } #endregion #region ToEnvironment - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixBuildSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixBuildSettingsExtensions { #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region OutputFile - /// - [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)); + /// + ///

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; + } #endregion #region Encrypt - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixRestoreSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixRestoreSettingsExtensions { #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixValidateSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixValidateSettingsExtensions { #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixEncryptSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixEncryptSettingsExtensions { #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region InputFile - /// - [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)); + /// + ///

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; + } #endregion #region OutFile - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixDecryptSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixDecryptSettingsExtensions { #region Environment - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region InputFile - /// - [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)); + /// + ///

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; + } #endregion #region OutFile - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixConfigShowSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixConfigShowSettingsExtensions { #region Format - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixConfigSetSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixConfigSetSettingsExtensions { #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Path - /// - [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)); + /// + ///

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; + } #endregion #region Value - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion #region ConfixConfigListSettingsExtensions -/// Used within . +/// +/// Used within . +/// [PublicAPI] [ExcludeFromCodeCoverage] public static partial class ConfixConfigListSettingsExtensions { #region Format - /// - [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)); + /// + ///

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; + } #endregion #region Verbosity - /// - [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)); + /// + ///

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; + } #endregion #region Framework - /// - [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)); + /// + ///

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; + } #endregion } #endregion diff --git a/src/Confix.Tool/src/Confix.Nuke/ConfixTasks.cs b/src/Confix.Tool/src/Confix.Nuke/ConfixTasks.cs index f800cef..4096339 100644 --- a/src/Confix.Tool/src/Confix.Nuke/ConfixTasks.cs +++ b/src/Confix.Tool/src/Confix.Nuke/ConfixTasks.cs @@ -2,7 +2,7 @@ namespace Confix.Nuke; -public partial class ConfixTasks +public static partial class ConfixTasks { public static void CustomLogger(OutputType outputType, string message) { @@ -12,7 +12,7 @@ public static void CustomLogger(OutputType outputType, string message) } } - internal string GetToolPath(string? framework = null) + internal static string GetToolPath(string? framework = null) { return NuGetToolPathResolver.GetPackageExecutable( packageId: "Confix", @@ -20,3 +20,203 @@ internal string GetToolPath(string? framework = null) framework: framework); } } + +public partial class ConfixComponentBuildSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixComponentAddSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixComponentInitSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixProjectRestoreSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixProjectBuildSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixProjectInitSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixProjectValidateSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixSolutionRestoreSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixSolutionBuildSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixSolutionInitSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixSolutionValidateSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixVariableGetSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixVariableSetSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixVariableListSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixVariableCopySettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixBuildSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixComponentListSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixRestoreSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixValidateSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixEncryptSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixDecryptSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixConfigShowSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixConfigSetSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixConfigListSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +} + +public partial class ConfixProjectReportSettings +{ + private string GetProcessToolPath() + { + return ConfixTasks.GetToolPath(Framework); + } +}