Esempio n. 1
0
        public InOutStep <TIn, TOut> AddFirstStep <TIn, TOut>(Func <TIn, StepResult <TOut> > stepFunc)
        {
            var newStep = new InOutStep <TIn, TOut>(stepFunc);

            FirstStep = newStep;
            return(newStep);
        }
Esempio n. 2
0
        // InOutStep Then
        public InOutStep <TOut, TNewOut> Then <TNewOut>(Func <TOut, StepResult <TNewOut> > newStepFunc)
        {
            var nextStep = new InOutStep <TOut, TNewOut>(newStepFunc);

            Then(nextStep);
            return(nextStep);
        }