ScriptHost.

Task(string) Method

Summary

Registers a new task.
Namespace
Cake.Core.Scripting
Containing Type
ScriptHost

Syntax

public CakeTaskBuilder Task(string name)

Parameters

Name Type Description
name string The name of the task.

Return Value

Type Description
CakeTaskBuilder A CakeTaskBuilder.