public static Step Select(this Step step, params Func <bool>[] steps) { var t = new Step[steps.Length]; for (int i = 0; i < steps.Length; i++) { t[i] = new ActionBoolStep(steps[i]); } var t1 = new SelectorStep(t); step.Then(t1); return(t1); }
public static Step Select(this Step step, params Step[] steps) { var t = new SelectorStep(steps); return(t); }