Summary
Registers a teardown action.
- Namespace
- Cake
.Frosting - Containing Type
- CakeHostExtensions
Syntax
public static CakeHost UseTeardown<TTeardown>(this CakeHost host)
where TTeardown : class, IFrostingTeardown
Type Parameters
| Name | Description |
|---|---|
| TTeardown | The teardown action. |
Parameters
| Name | Type | Description |
|---|---|---|
| host | CakeHost | The service collection. |
