示例#1
0
 public void Setup(Action action)
 {
     _host.Setup(action);
 }
示例#2
0
 /// <summary>
 /// Allows registration of an action that's executed before any tasks are run. If
 /// setup fails, no tasks will be executed but teardown will be performed.
 /// </summary>
 /// <param name="action">The action to be executed.</param>
 public void Setup(Action <ICakeContext> action) => _host.Setup(action);