예제 #1
0
 public void Teardown(Action action)
 {
     _host.Teardown(action);
 }
예제 #2
0
 /// <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.
 /// </summary>
 /// <param name="action">Action to be executed.</param>
 public void Teardown(Action <ICakeContext> action) => _host.Teardown(action);