public AsyncRuleService(IEnumerable <IRuleAsync <T> > rules, IRuleEngineConfiguration <T> ruleEngineTerminated) { _rules = rules; _rxRuleService = new RxRuleService <IRuleAsync <T>, T>(_rules); _ruleEngineConfiguration = ruleEngineTerminated; }
public RuleService(IEnumerable <IRule <T> > rules, IRuleEngineConfiguration <T> ruleEngineConfiguration) { _rules = rules; _rxRuleService = new RxRuleService <IRule <T>, T>(_rules); _ruleEngineConfiguration = ruleEngineConfiguration; }