Summary
Adds the action to the task's actions.
- Namespace
- Cake
.Core - Containing Type
- CakeTaskExtensions
Syntax
public static void AddAction(this CakeTask task, Func<ICakeContext, Task> action)
Parameters
| Name | Type | Description |
|---|---|---|
| task | CakeTask | The task. |
| action | Func |
The action. |
Return Value
| Type | Description |
|---|---|
| void |
