CakeHostExtensions.

UseTaskSetup<TSetup>(CakeHost) Method

Summary

Registers a task setup action.
Namespace
Cake.Frosting
Containing Type
CakeHostExtensions

Syntax

public static CakeHost UseTaskSetup<TSetup>(this CakeHost host) 
    where TSetup : class, IFrostingTaskSetup

Type Parameters

Name Description
TSetup The task setup action.

Parameters

Name Type Description
host CakeHost The CakeHost to configure.

Return Value

Type Description
CakeHost The same CakeHost instance so that multiple calls can be chained.