コード例 #1
0
 public AsyncRuleService(IEnumerable <IRuleAsync <T> > rules,
                         IRuleEngineConfiguration <T> ruleEngineTerminated)
 {
     _rules                   = rules;
     _rxRuleService           = new RxRuleService <IRuleAsync <T>, T>(_rules);
     _ruleEngineConfiguration = ruleEngineTerminated;
 }
コード例 #2
0
 public RuleService(IEnumerable <IRule <T> > rules,
                    IRuleEngineConfiguration <T> ruleEngineConfiguration)
 {
     _rules                   = rules;
     _rxRuleService           = new RxRuleService <IRule <T>, T>(_rules);
     _ruleEngineConfiguration = ruleEngineConfiguration;
 }