8 references to GetValidationResult
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsModelValidator.cs (1)
83var result = Attribute.GetValidationResult(validationContext.Model, context);
System.ComponentModel.Annotations (7)
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (2)
342/// The preferred public entry point for clients requesting validation is the <see cref="GetValidationResult" /> 501ValidationResult? result = GetValidationResult(value, validationContext);
System\ComponentModel\DataAnnotations\ValidationResult.cs (3)
14/// <seealso cref="ValidationAttribute.GetValidationResult" /> 37/// The user-visible error message. If null, <see cref="ValidationAttribute.GetValidationResult" /> 50/// The user-visible error message. If null, <see cref="ValidationAttribute.GetValidationResult" />
System\ComponentModel\DataAnnotations\Validator.cs (2)
486var validationResult = reqAttr.GetValidationResult(property.Value, property.Key); 615var validationResult = attribute.GetValidationResult(value, validationContext);