CakeHostExtensions.

UseTaskTeardown<TTeardown>(CakeHost) Method

Summary

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

Syntax

public static CakeHost UseTaskTeardown<TTeardown>(this CakeHost host) 
    where TTeardown : class, IFrostingTaskTeardown

Type Parameters

Name Description
TTeardown The task teardown 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.