public InOutStep <TIn, TOut> AddFirstStep <TIn, TOut>(Func <TIn, StepResult <TOut> > stepFunc) { var newStep = new InOutStep <TIn, TOut>(stepFunc); FirstStep = newStep; return(newStep); }
// InOutStep Then public InOutStep <TOut, TNewOut> Then <TNewOut>(Func <TOut, StepResult <TNewOut> > newStepFunc) { var nextStep = new InOutStep <TOut, TNewOut>(newStepFunc); Then(nextStep); return(nextStep); }