Summary
Allows registration of an action that's executed before each task is run.
If the task setup fails, the task will not be executed but the task's teardown will be performed.
- Namespace
- Cake
.Core - Containing Type
- ICakeEngine
Syntax
void RegisterTaskSetupAction(Action<ITaskSetupContext> action)
Parameters
| Name | Type | Description |
|---|---|---|
| action | Action |
The action to be executed. |
Return Value
| Type | Description |
|---|---|
| void |
