public void Configure(ValidationRule rule, PropertyInfo property)
 {
     this.rule     = rule;
     this.property = property;
 }
Beispiel #2
0
 internal ValidationEngine(ValidationRule rule,
                           PropertyInfo property)
 {
     Validator = new NotNullValidation();
     Validator.Configure(rule, property);
 }