Summary
Sets expected exit code using
WithHandleExitCode<T>(T, Func<int, bool>)
.
- Namespace
- Cake
.Core .Tooling - Containing Type
- Tool
Settings Extensions
Syntax
public static T WithExpectedExitCode<T>(this T toolSettings, int expectExitCode)
where T : ToolSettings
Type Parameters
Name | Description |
---|---|
T | The ToolSettings type. |
Parameters
Name | Type | Description |
---|---|---|
toolSettings | T | The tools settings. |
expectExitCode | int | The tool expected exit code. |
Return Value
Type | Description |
---|---|
T | The tools settings. |