This content is part of a third party extension that is not supported by the Cake project.
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.
- Assembly
- Cake
.Module .Shared .dll - Namespace
- Cake
.Module .Shared - Containing Type
- CakeEngineBase
Syntax
public void RegisterSetupAction(Action<ICakeContext> action)
Parameters
Name | Type | Description |
---|---|---|
action | Action |
The action to be executed. |
Return Value
Type | Description |
---|---|
void |