コード例 #1
0
 private IEvaluatorCommand InsertEvaluator(IEvaluatorCommand evaluatorSet, IEvaluatorCommand NewEvaluator)
 {
     if (evaluatorSet == null)
     {
         return(NewEvaluator);
     }
     else
     {
         evaluatorSet.Successor = InsertEvaluator(evaluatorSet.Successor, NewEvaluator);
         return(evaluatorSet);
     }
 }
コード例 #2
0
 public WorkFlowContext SetNewEvaluator(IEvaluatorCommand evaluator)
 {
     return(this);
 }
コード例 #3
0
 public WorkFlowContext AddEvaluator(IEvaluatorCommand customEvaluator)
 {
     this.Match.AddOperator(customEvaluator);
     return(this);
 }
コード例 #4
0
 public IMatchCondition AddOperator(IEvaluatorCommand evaluator)
 {
     this.evaluator = InsertEvaluator(this.evaluator, evaluator);
     return(this);
 }