Summary
Registers a teardown action.
- Namespace
- Cake
.Core - Containing Type
- CakeEngineActions
Syntax
public void RegisterTeardown<TData>(Action<ITeardownContext, TData> action) where TData : class
Type Parameters
| Name | Description |
|---|---|
| TData | Type of the data for the teardown action. |
Parameters
| Name | Type | Description |
|---|---|---|
| action | Action |
The teardown action. |
Return Value
| Type | Description |
|---|---|
| void |
