Summary
This method is 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
.Frosting - Containing Type
- IFrostingTaskSetup
Syntax
void Setup(ICakeContext context, ITaskSetupContext info)
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
info | ITaskSetupContext | The setup information. |
Return Value
Type | Description |
---|---|
void |