7 references to ClientModelValidatorProviders
Microsoft.AspNetCore.Mvc.Test (1)
MvcOptionsSetupTest.cs (1)
140
Assert.Collection(options.
ClientModelValidatorProviders
,
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
DefaultValidationHtmlAttributeProvider.cs (1)
39
var clientValidatorProviders = optionsAccessor.Value.
ClientModelValidatorProviders
;
DependencyInjection\MvcViewOptionsSetup.cs (3)
45
options.
ClientModelValidatorProviders
.Add(new DefaultClientModelValidatorProvider());
46
options.
ClientModelValidatorProviders
.Add(new DataAnnotationsClientModelValidatorProvider(
50
options.
ClientModelValidatorProviders
.Add(new NumericClientModelValidatorProvider());
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
DefaultValidationHtmlAttributeProviderTest.cs (1)
272
mvcViewOptions.
ClientModelValidatorProviders
.Add(new NumericClientModelValidatorProvider());
Rendering\DefaultTemplatesUtilities.cs (1)
240
options.
ClientModelValidatorProviders
.Add(new DataAnnotationsClientModelValidatorProvider(