public void AddRuleViolation(string property, string errorDescription)
 {
     RuleViolation violation = new RuleViolation(property, errorDescription);
     (Errors as List<RuleViolation>).Add(violation);
 }
Ejemplo n.º 2
0
 protected virtual void PaintControlError(object control,RuleViolation rv)
 {
     throw new NotImplementedException();
 }
 public void AddRuleViolation(RuleViolation violation)
 {
     (Errors as List<RuleViolation>).Add(violation);
 }