public ICompensactionActivity Step(string name, Func <Task> action) { this.Name = name; this.Action = action; this._sagaBuilder.AddActivity(this); ICompensactionActivity compensaction = new CompensactionActivityBase(this._sagaBuilder); return(compensaction); }
internal void AddCompensactionActivity(CompensactionActivityBase item) { this._activityT.Push(item); }