protected void LogValidationResult(ValidationResults validationResults, string message, object target, string key) { validationResults.AddResult(new ValidationResult(message, target, key, this.Tag, this)); }
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)); }