CakeTaskExtensions.

AddAction(CakeTask, Func<ICakeContext, Task>) Method

Summary

Adds the action to the task's actions.
Namespace
Cake.Core
Containing Type
CakeTaskExtensions

Syntax

public static void AddAction(this CakeTask task, Func<ICakeContext, Task> action)

Parameters

Name Type Description
task CakeTask The task.
action Func<ICakeContext, Task> The action.

Return Value

Type Description
void