Пример #1
0
 public ValidationIssue(BaseValidationRule validator, string valuePath, object checkValue, string code, string message)
 {
     Validator  = validator;
     ValuePath  = valuePath;
     CheckValue = checkValue;
     Code       = code;
     Message    = message;
 }
Пример #2
0
 public void AddValidator(BaseValidationRule validator)
 {
     Validators.Add(validator);
 }
Пример #3
0
 public ValidationIssue Issue(BaseValidationRule validator, string code, string message)
 {
     return(new ValidationIssue(validator, ValuePath, OriginValue, code, message));
 }