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