/// <summary> /// TODO - add method description /// </summary> /// <remarks> /// Inherited method from base class Run /// </remarks> /// <param name='t'>TODO - add parameter description</param> public void Reflect( RunInvokerTree tree, RunInvokerVertex parent, Type t ) { // for each run foreach(IRun run in this.Runs) { // for each leaf foreach(RunInvokerVertex leaf in tree.Leaves(parent)) { // add runs run.Reflect(tree,leaf,t); } } }
public void Reflect( RunInvokerTree tree, RunInvokerVertex parent, Type t ) { if (this.runs.Count == 0 && !this.allowEmpty) { throw new InvalidOperationException("Parralel run is empty. Missing factory ?"); } // for each leaf foreach(RunInvokerVertex leaf in tree.Leaves(parent)) { // for each run foreach(IRun run in this.Runs) { // add runs run.Reflect(tree,leaf,t); } } }