3 instantiations of TestModelBinderFactory
Microsoft.AspNetCore.Mvc.Core.TestCommon (3)
TestModelBinderFactory.cs (3)
16return new TestModelBinderFactory( 41return new TestModelBinderFactory(metadataProvider, options); 64return new TestModelBinderFactory(metadataProvider, options);
63 references to TestModelBinderFactory
Microsoft.AspNetCore.Mvc.Core.Test (19)
Controllers\ControllerBinderDelegateProviderTest.cs (6)
1135var factory = TestModelBinderFactory.CreateDefault(modelBinderProvider); 1212var factory = TestModelBinderFactory.CreateDefault(modelBinderProvider); 1322return TestModelBinderFactory.Create(provider.Object); 1332factory = TestModelBinderFactory.CreateDefault();
Infrastructure\ControllerActionInvokerCacheTest.cs (2)
95var modelBinderFactory = TestModelBinderFactory.CreateDefault();
Infrastructure\ControllerActionInvokerProviderTest.cs (3)
66var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 71TestModelBinderFactory.CreateDefault(),
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (2)
1092var factory = TestModelBinderFactory.Create(options.Value.ModelBinderProviders.ToArray());
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (2)
1256var factory = TestModelBinderFactory.Create(options.Value.ModelBinderProviders.ToArray());
ModelBinding\Binders\HeaderModelBinderTests.cs (2)
374var factory = TestModelBinderFactory.Create(bindingContext.HttpContext.RequestServices);
ModelBinding\ModelBindingHelperTest.cs (2)
776return TestModelBinderFactory.Create(binderProvider.Object); 781return TestModelBinderFactory.CreateDefault(providers);
Microsoft.AspNetCore.Mvc.Core.TestCommon (5)
TestModelBinderFactory.cs (5)
13public static TestModelBinderFactory Create(IServiceProvider serviceProvider) 22public static TestModelBinderFactory Create(params IModelBinderProvider[] providers) 27public static TestModelBinderFactory Create( 44public static TestModelBinderFactory CreateDefault(params IModelBinderProvider[] providers) 49public static TestModelBinderFactory CreateDefault(
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
TryUpdateModelIntegrationTest.cs (1)
1366TestModelBinderFactory.CreateDefault(),
Microsoft.AspNetCore.Mvc.RazorPages.Test (38)
Infrastructure\PageActionInvokerProviderTest.cs (3)
505var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 510TestModelBinderFactory.CreateDefault(),
Infrastructure\PageBinderFactoryTest.cs (35)
32var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 58var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 83var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 109var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 134var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 160var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 210var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 276var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 326var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 389var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 448var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 498var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 540var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 589var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 632var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 665var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 719var modelBinderFactory = TestModelBinderFactory.CreateDefault(); 811TestModelBinderFactory.CreateDefault(),