Esempio n. 1
0
 public void Teardown(Action action)
 {
     _host.Teardown(action);
 }
Esempio n. 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);