public Lexicon <TContext> Add(ProducerStep <TContext> step) { if (step.Name == null) { throw new ArgumentOutOfRangeException("step", step, "Step name cannot be null."); } steps.Add(step.Name, step); return(this); }
public SequenceItem(ProducerStep <TContext> step, bool isOptional = false) { Step = step; IsOptional = isOptional; }
public StepResult Execute(ProducerStep <TThis> step) { return(step.Execute(this as TThis)); }