CakeHostExtensions.

UseSetup<TSetup>(CakeHost) Method

Summary

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

Syntax

public static CakeHost UseSetup<TSetup>(this CakeHost host) where TSetup : class, IFrostingSetup

Type Parameters

Name Description
TSetup The setup action.

Parameters

Name Type Description
host CakeHost The service collection.

Return Value

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