コード例 #1
0
 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)
     });
 }