public IRuleSet<IValidationRule> GetRules(DerivedTestRuleSetDescriptor ruleSetDescriptor)
 {
     return new ValidationRuleSet { new AnotherTestValidationRule(ruleSetDescriptor.Factory) };
 }
示例#2
0
 public IRuleSet <IValidationRule> GetRules(DerivedTestRuleSetDescriptor ruleSetDescriptor)
 {
     return(new ValidationRuleSet {
         new AnotherTestValidationRule(ruleSetDescriptor.Factory)
     });
 }