CakeEngineBase.

RegisterTeardownAction(Action<ITeardownContext>) Method

Summary

Allows registration of an action that's executed after all other tasks have been run. If a setup action or a task fails with or without recovery, the specified teardown action will still be executed.
Assembly
Cake.Module.Shared.dll
Namespace
Cake.Module.Shared
Containing Type
CakeEngineBase

Syntax

public void RegisterTeardownAction(Action<ITeardownContext> action)

Parameters

Name Type Description
action Action<ITeardownContext> The action to be executed.

Return Value

Type Description
void