Summary
    Allows registration of an action that's executed before any tasks are run.
    If setup fails, no tasks will be executed but teardown will be performed.
    
		- Namespace
- Cake.Core 
- Containing Type
- ICakeEngine
Syntax
void RegisterSetupAction<TData>(Func<ISetupContext, TData> action) where TData : classType Parameters
| Name | Description | 
|---|---|
| TData | The data type. | 
Parameters
| Name | Type | Description | 
|---|---|---|
| action | Func | The action to be executed. | 
Return Value
| Type | Description | 
|---|---|
| void | 
