IScriptHost.

Task(string) Method

Summary

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

Syntax

CakeTaskBuilder Task(string name)

Parameters

Name Type Description
name string The name of the task.

Return Value

Type Description
CakeTaskBuilder A CakeTaskBuilder.