public static ConditionalInvoker <T> RegisterCondition <T>(this IRegisterInvoker register, Expression <Func <T, bool> > conditionalExpression) { ConditionalInvoker <T> conditionalInvoker = new ConditionalInvoker <T>(conditionalExpression, register.RulesEngine); register.RegisterInvoker(conditionalInvoker); return(conditionalInvoker); }
internal ForClassElseEndIf(Engine rulesEngine, ConditionalInvoker <T> conditionalInvoker, ENDIF parent) { _rulesEngine = rulesEngine; _parent = parent; _conditionalInvoker = conditionalInvoker; }