Esempio n. 1
0
 protected void LogValidationResult(ValidationResults validationResults, string message, object target, string key)
 {
     validationResults.AddResult(new ValidationResult(message, target, key, this.Tag, this));
 }
Esempio n. 2
0
 protected void LogValidationResult(ValidationResults validationResults, string message, object target, string key, IEnumerable <ValidationResult> nestedValidationResults)
 {
     validationResults.AddResult(new ValidationResult(message, target, key, this.Tag, this, nestedValidationResults));
 }
Esempio n. 3
0
 protected internal abstract void DoValidate(object objectToValidate, object currentTarget, string key, ValidationResults validationResults);