5 references to RequiredAttributeAdapter
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
ValidationAttributeAdapterProvider.cs (1)
36
return new
RequiredAttributeAdapter
((RequiredAttribute)attribute, stringLocalizer);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (4)
DataAnnotationsClientModelValidatorProviderTest.cs (1)
54
Validator = new
RequiredAttributeAdapter
(new RequiredAttribute(), stringLocalizer: null),
RequiredAttributeAdapterTest.cs (3)
34
var adapter = new
RequiredAttributeAdapter
(attribute, stringLocalizer: stringLocalizer.Object);
59
var adapter = new
RequiredAttributeAdapter
(attribute, stringLocalizer: null);
84
var adapter = new
RequiredAttributeAdapter
(attribute, stringLocalizer: null);