public SagaStepForIf(string StepName, ISagaStep parentStep) { this.StepName = StepName; this.Async = false; this.ChildSteps = new SagaSteps(); this.ParentStep = parentStep; }
public SagaStepForEventHandler( string StepName, bool async, ISagaStep parentStep) { this.StepName = StepName; Async = async; ChildSteps = new SagaSteps(); ParentStep = parentStep; }
public SagaEmptyStep( string StepName, ISagaStep parentStep) { this.StepName = StepName; Async = false; ChildSteps = new SagaSteps(); ParentStep = parentStep; }
public SagaStepForSendActivity( SendActionAsyncDelegate <TSagaData, TExecuteEvent> action, SendActionAsyncDelegate <TSagaData, TCompensateEvent> compensate, string StepName, bool async, ISagaStep parentStep) { this.StepName = StepName; Async = async; this.action = action; this.compensate = compensate; ChildSteps = new SagaSteps(); ParentStep = parentStep; }
public SagaStepForElseIfInline( string StepName, IfFuncAsyncDelegate <TSagaData> action, ThenAsyncActionDelegate <TSagaData> compensation, ISagaStep parentStep) { this.StepName = StepName; this.action = action; this.compensation = compensation; this.Async = false; this.ChildSteps = new SagaSteps(); this.ParentStep = parentStep; }
public SagaStepForThenInline( string stepName, ThenAsyncActionDelegate <TSagaData> action, ThenAsyncActionDelegate <TSagaData> compensation, bool async, ISagaStep parentStep) { StepName = stepName; this.action = action; this.compensation = compensation; Async = async; ChildSteps = new SagaSteps(); ParentStep = parentStep; }
public SagaStepForPublishActivity( /* SendActionAsyncDelegate<TSagaData, TExecuteEvent> action, * SendActionAsyncDelegate<TSagaData, TCompensateEvent> compensate, * string StepName, bool async, ISagaStep parentStep*/) { //this.StepName = StepName; //Async = async; //this.action = action; //this.compensate = compensate; ChildSteps = new SagaSteps(); //ParentStep = parentStep; }
public void SetChildSteps(SagaSteps steps) { this.ChildSteps = steps; }