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