8 references to GetValidationResult
System.ComponentModel.DataAnnotations (7)
DataAnnotations\ValidationAttribute.cs (2)
310/// The preferred public entry point for clients requesting validation is the <see cref="GetValidationResult"/> method. 477ValidationResult result = this.GetValidationResult(value, validationContext);
DataAnnotations\ValidationResult.cs (3)
11/// <seealso cref="ValidationAttribute.GetValidationResult"/> 40/// <param name="errorMessage">The user-visible error message. If null, <see cref="ValidationAttribute.GetValidationResult"/> 50/// <param name="errorMessage">The user-visible error message. If null, <see cref="ValidationAttribute.GetValidationResult"/>
DataAnnotations\Validator.cs (2)
404ValidationResult validationResult = reqAttr.GetValidationResult(property.Value, property.Key); 519ValidationResult validationResult = attribute.GetValidationResult(value, validationContext);
System.Web (1)
ModelBinding\DataAnnotationsModelValidator.cs (1)
84ValidationResult result = Attribute.GetValidationResult(Metadata.Model, context);