CakeEngineActions.

RegisterTaskSetup<TData>(Action<ITaskSetupContext, TData>) Method

Summary

Registers the task setup action.
Namespace
Cake.Core
Containing Type
CakeEngineActions

Syntax

public void RegisterTaskSetup<TData>(Action<ITaskSetupContext, TData> action) where TData : class

Type Parameters

Name Description
TData Type of the data for the task setup action.

Parameters

Name Type Description
action Action<ITaskSetupContext, TData> The task setup action.

Return Value

Type Description
void