Example #1
0
 public DecisionNode <T> Decide <TCondition>(TCondition condition) where TCondition : AbstractCondition
 {
     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);
 }