1 write to Attribute
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DataAnnotationsModelValidator.cs (1)
36Attribute = attribute;
5 references to Attribute
Microsoft.AspNetCore.Mvc.DataAnnotations (5)
DataAnnotationsModelValidator.cs (5)
83var result = Attribute.GetValidationResult(validationContext.Model, context); 88!string.IsNullOrEmpty(Attribute.ErrorMessage) && 89string.IsNullOrEmpty(Attribute.ErrorMessageResourceName) && 90Attribute.ErrorMessageResourceType == null) 134var adapter = _validationAttributeAdapterProvider.GetAttributeAdapter(Attribute, _stringLocalizer);