CakeHostExtensions.

UseStartup<TStartup>(CakeHost) Method

Summary

Specify the startup type to be used by the Cake host.
Namespace
Cake.Frosting
Containing Type
CakeHostExtensions

Syntax

public static CakeHost UseStartup<TStartup>(this CakeHost host) 
    where TStartup : IFrostingStartup, new()

Type Parameters

Name Description
TStartup The startup type.

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.