예제 #1
0
파일: Step.cs 프로젝트: zjwps/zjwLib
        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);
        }
예제 #2
0
파일: Step.cs 프로젝트: zjwps/zjwLib
        public static Step Select(this Step step, params Step[] steps)
        {
            var t = new SelectorStep(steps);

            return(t);
        }