Beispiel #1
0
 protected BaseStateRuleEngine(States state, IGlobalRule globalRule, params IRule [] rules)
 {
     State      = state;
     GlobalRule = globalRule;
     Rules      = new List <IRule>(rules);
 }
Beispiel #2
0
 public IRuleBasedDataGeneratorConfigurator AddGlobalRule(IGlobalRule rule)
 {
     _ruleSet.AddGlobalRule(rule);
     return(this);
 }
Beispiel #3
0
 public void AddGlobalRule(IGlobalRule rule)
 {
     _globalRules.Add(rule);
 }