Exemple #1
0
        public RegularStep AddFirstStep(Func <StepResult> stepFunc)
        {
            var newStep = new RegularStep(stepFunc);

            FirstStep = newStep;
            return(newStep);
        }
Exemple #2
0
        // Regular Step Then
        public RegularStep Then(Func <StepResult> newStepFunc)
        {
            var nextStep = new RegularStep(newStepFunc);

            Then(nextStep);
            return(nextStep);
        }