Summary
Registers a new task.
- Namespace
- Cake
.Core .Scripting - Containing Type
- IScriptHost
Syntax
CakeTaskBuilder<TData> TaskOf<TData>(string name) where TData : class
Type Parameters
Name | Description |
---|---|
TData | The type of the data context. |
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the task. |
Return Value
Type | Description |
---|---|
CakeTaskBuilder |
A CakeTaskBuilder . |