コード例 #1
0
 public ChainHandler <TIdentifier, TContext> AddStep(ChainHandlerStep <TIdentifier, TContext> step)
 {
     _firstStep = _firstStep ?? step;
     _lastStep?.SetSuccessor(step);
     _lastStep = step;
     return(this);
 }
コード例 #2
0
 public void SetSuccessor(ChainHandlerStep <TIdentifier, TContext> successor)
 {
     this.successor = successor;
 }