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 |
From StringExtensions
Requires the Cake.Issues addin
|