Summary
Adds an action to be executed when the task is invoked.
- Namespace
- Cake
.Core - Containing Type
- Cake
Task Builder Extensions
Syntax
public static CakeTaskBuilder Does(this CakeTaskBuilder builder, Action<ICakeContext> action)
Parameters
Name | Type | Description |
---|---|---|
builder | CakeTaskBuilder | The task builder. |
action | Action |
The action. |
Return Value
Type | Description |
---|---|
CakeTaskBuilder | The same CakeTaskBuilder instance so that multiple calls can be chained. |