CakeEngineBase.

RegisterTaskSetupAction(Action<ITaskSetupContext>) Method

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.
Assembly
Cake.Module.Shared.dll
Namespace
Cake.Module.Shared
Containing Type
CakeEngineBase

Syntax

public void RegisterTaskSetupAction(Action<ITaskSetupContext> action)

Parameters

Name Type Description
action Action<ITaskSetupContext> The action to be executed.

Return Value

Type Description
void