1 instantiation of TestModelValidatorProvider
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
TestModelValidatorProvider.cs (1)
27
return new
TestModelValidatorProvider
(providers);
27 references to TestModelValidatorProvider
Microsoft.AspNetCore.Mvc.Core.Test (17)
Controllers\DefaultControllerFactoryTest.cs (1)
232
TestModelValidatorProvider
.CreateDefaultProvider().ValidatorProviders,
ModelBinding\ParameterBinderTest.cs (7)
326
new[] {
TestModelValidatorProvider
.CreateDefaultProvider() },
381
new[] {
TestModelValidatorProvider
.CreateDefaultProvider() },
436
new[] {
TestModelValidatorProvider
.CreateDefaultProvider() },
490
new[] {
TestModelValidatorProvider
.CreateDefaultProvider() },
549
new[] {
TestModelValidatorProvider
.CreateDefaultProvider() },
611
new[] {
TestModelValidatorProvider
.CreateDefaultProvider() },
678
new[] {
TestModelValidatorProvider
.CreateDefaultProvider() },
ModelBinding\Validation\DefaultModelValidatorProviderTest.cs (6)
17
var validatorProvider =
TestModelValidatorProvider
.CreateDefaultProvider();
37
var validatorProvider =
TestModelValidatorProvider
.CreateDefaultProvider();
57
var validatorProvider =
TestModelValidatorProvider
.CreateDefaultProvider();
79
var validatorProvider =
TestModelValidatorProvider
.CreateDefaultProvider();
102
var validatorProvider =
TestModelValidatorProvider
.CreateDefaultProvider();
124
var validatorProvider =
TestModelValidatorProvider
.CreateDefaultProvider();
ModelBinding\Validation\DefaultObjectValidatorTests.cs (2)
1470
var validatorProviders =
TestModelValidatorProvider
.CreateDefaultProvider().ValidatorProviders;
1477
var validatorProviders =
TestModelValidatorProvider
.CreateDefaultProvider().ValidatorProviders;
ModelBinding\Validation\ValidatorCacheTest.cs (1)
17
var validatorProvider =
TestModelValidatorProvider
.CreateDefaultProvider();
Microsoft.AspNetCore.Mvc.Core.TestCommon (2)
TestModelMetadataProvider.cs (2)
37
var validationProviders =
TestModelValidatorProvider
.CreateDefaultProvider();
61
var validationProviders =
TestModelValidatorProvider
.CreateDefaultProvider();
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (4)
DefaultModelClientValidatorProviderTest.cs (4)
18
var validatorProvider =
TestModelValidatorProvider
.CreateDefaultProvider();
38
var validatorProvider =
TestModelValidatorProvider
.CreateDefaultProvider();
59
var validatorProvider =
TestModelValidatorProvider
.CreateDefaultProvider();
81
var validatorProvider =
TestModelValidatorProvider
.CreateDefaultProvider();
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
ModelBindingTestHelper.cs (1)
138
return
TestModelValidatorProvider
.CreateDefaultProvider().ValidatorProviders;
ValidationIntegrationTests.cs (1)
2521
TestModelValidatorProvider
.CreateDefaultProvider().ValidatorProviders,
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Infrastructure\PageBinderFactoryTest.cs (2)
547
new[] {
TestModelValidatorProvider
.CreateDefaultProvider() },
671
new[] {
TestModelValidatorProvider
.CreateDefaultProvider() },