public TFluent AddStep(Action <TState> perform) { Nodes.AddLeafNode(() => new DelegateStep <TState>(perform)); return(Self); }
public TFluent AddStep(IStep <TState> instance) { Nodes.AddLeafNode(() => instance); return(Self); }
public TFluent AddStep <T>() where T : IStep <TState> { Nodes.AddLeafNode(() => WorkFlowContext.TypeFactory.Create <T>()); return(Self); }