Summary
Provides fluent null guarded tool settings action.
- Namespace
- Cake
.Core .Tooling - Containing Type
- Tool
Settings Extensions
Syntax
public static T WithToolSettings<T>(this T toolSettings, Action<T> toolSettingsAction)
where T : ToolSettings
Type Parameters
Name | Description |
---|---|
T | The ToolSettings type. |
Parameters
Name | Type | Description |
---|---|---|
toolSettings | T | The tools settings. |
toolSettingsAction | Action |
The tools settings action. |
Return Value
Type | Description |
---|---|
T | The tools settings. |