public DecisionNode <T> Decide <TCondition>(TCondition condition) where TCondition : AbstractCondition { decisionNode = new ConditionDecisionNode <T>(condition, master); return(decisionNode); }
public DecisionNode <T> Decide(Func <T, bool> func) { decisionNode = new ConditionDecisionNode <T>(new FuncCondition <T>(func), master); return(decisionNode); }