CakeTaskBuilderOfTExtensions.

Of<TData>(CakeTaskBuilder) Method

Summary

Gives a CakeTaskBuilder<TData> bound to specific data context type.
Namespace
Cake.Core
Containing Type
CakeTaskBuilderOfTExtensions

Syntax

public static CakeTaskBuilder<TData> Of<TData>(this CakeTaskBuilder builder) where TData : class

Type Parameters

Name Description
TData The type of the data context.

Parameters

Name Type Description
builder CakeTaskBuilder The task builder.

Return Value

Type Description
CakeTaskBuilder<TData> A CakeTaskBuilder<TData>.