Example #1
0
 public DecisionNode <T> Decide(ICondition condition)
 {
     _decisionNode = new ConditionDecisionNode <T>(condition, Master);
     return(_decisionNode);
 }
Example #2
0
 public DecisionNode <T> Decide(Func <T, bool> func)
 {
     _decisionNode = new ConditionDecisionNode <T>(new FuncCondition <T>(func), Master);
     return(_decisionNode);
 }