/// <summary> /// Allows registration of an action that's executed after each task has been run. /// If a task setup action or a task fails with or without recovery, the specified /// task teardown action will still be executed. /// </summary> /// <param name="action">The action to be executed.</param> public void TaskTeardown(Action <ITaskTeardownContext> action) => _host.TaskTeardown(action);