예제 #1
0
        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);
        }
예제 #2
0
 internal void AddCompensactionActivity(CompensactionActivityBase item)
 {
     this._activityT.Push(item);
 }