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