예제 #1
0
        private GroupRuleSetBuilder(RuleEngineContext.RuleEngineContext context)
        {
            _ruleparser     = RuleExpressionParserFactory.CreateStringRuleParser <TEntity>();
            _propertyparser = RuleExpressionParserFactory.CreateStringPropertyRuleParser <TEntity>();

            _groupKeyExpressionParser = RuleExpressionParserFactory.CreateGroupKeyParser <TEntity>();
            this._context             = context;
        }
예제 #2
0
        private RulesetBuilder(RuleEngineContext.RuleEngineContext context)
        {
            _context = context;

            _ruleparser     = RuleExpressionParserFactory.CreateStringRuleParser <TEntity>();
            _propertyparser = RuleExpressionParserFactory
                              .CreateStringPropertyRuleParser <TEntity>();
        }