public void Load(IRunPipeFilter filter) { if (filter == null) { throw new ArgumentNullException("filter"); } this.starters.Clear(); try { RunInvokerTree tree = new RunInvokerTree(this); foreach (RunPipe pipe in tree.AllTestPipes()) { if (!filter.Filter(pipe)) { continue; } RunPipeStarter starter = new RunPipeStarter(pipe); this.Starters.Add(starter); } } catch (Exception ex) { throw new ApplicationException("Error while create the invoker tree", ex); } }
public RunPipeStarterEventArgs(RunPipeStarter starter) { if (starter == null) { throw new ArgumentNullException("starter"); } this.starter = starter; }
public void Load(IRunPipeFilter filter) { if (filter == null) throw new ArgumentNullException("filter"); this.starters.Clear(); try { RunInvokerTree tree = new RunInvokerTree(this); foreach (RunPipe pipe in tree.AllTestPipes()) { if (!filter.Filter(pipe)) continue; RunPipeStarter starter = new RunPipeStarter(pipe); this.Starters.Add(starter); } } catch (Exception ex) { throw new ApplicationException("Error while create the invoker tree", ex); } }
public RunPipeStarterEventArgs(RunPipeStarter starter) { if (starter==null) throw new ArgumentNullException("starter"); this.starter = starter; }