Summary
Contains functionality related to
ToolSettings
.
- Namespace
- Cake
.Core .Tooling - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ToolSettingsExtensions"]
class Type type-node
Syntax
public static class ToolSettingsExtensions
Methods
Name | Value | Summary |
---|---|---|
With |
T |
Sets the tool argument customization delegate.
static
|
With |
T |
Sets or adds tool environment variable.
static
|
WithExpectedExitCode |
T |
Sets expected exit code using
WithHandleExitCode<T>(T, Func<int, bool>) .
static
|
WithHandleExitCode |
T |
Sets delegate whether the exit code from the tool process causes an exception to be thrown.
static
|
With |
T |
Sets whether the tool should use a working directory or not.
static
|
WithPostAction |
T |
Sets a delegate which is executed after the tool process was started.
static
|
With |
T |
Sets a delegate to configure the process settings.
static
|
WithToolPath |
T |
Sets the tool path.
static
|
WithToolSettings |
T |
Provides fluent null guarded tool settings action.
static
|
WithToolTimeout |
T |
Sets the tool timeout.
static
|
WithWorkingDirectory |
T |
Sets the tool working directory.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|