1 type derived from ModelBinderFactory
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
TestModelBinderFactory.cs (1)
11public class TestModelBinderFactory : ModelBinderFactory
16 instantiations of ModelBinderFactory
Microsoft.AspNetCore.Mvc.Core.Test (13)
ModelBinding\ModelBinderFactoryTest.cs (13)
24var factory = new ModelBinderFactory( 46var factory = new ModelBinderFactory( 81var factory = new ModelBinderFactory( 120var factory = new ModelBinderFactory( 160var factory = new ModelBinderFactory( 200var factory = new ModelBinderFactory( 230var factory = new ModelBinderFactory( 261var factory = new ModelBinderFactory( 372var factory = new ModelBinderFactory( 428var factory = new ModelBinderFactory( 490var factory = new ModelBinderFactory( 544var factory = new ModelBinderFactory( 608var factory = new ModelBinderFactory(
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
ModelBindingTestHelper.cs (3)
74new ModelBinderFactory(metadataProvider, options, serviceProvider), 104new ModelBinderFactory(metadataProvider, options, services), 121return new ModelBinderFactory(metadataProvider, options, services);
43 references to ModelBinderFactory
Microsoft.AspNetCore.Mvc.Core (6)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
214services.TryAddSingleton<IModelBinderFactory, ModelBinderFactory>();
ModelBinding\ModelBinderFactory.cs (4)
30/// Creates a new <see cref="ModelBinderFactory"/>. 46var logger = loggerFactory.CreateLogger<ModelBinderFactory>(); 202private readonly ModelBinderFactory _factory; 205ModelBinderFactory factory,
ModelBinding\ModelBinderFactoryContext.cs (1)
9/// A context object for <see cref="ModelBinderFactory.CreateBinder"/>.
Microsoft.AspNetCore.Mvc.Core.Test (37)
Controllers\ControllerBinderDelegateProviderTest.cs (22)
53var factory = GetModelBinderFactory(binder.Object); 108var factory = GetModelBinderFactory(binder.Object); 157var factory = GetModelBinderFactory(binder.Object); 199var factory = GetModelBinderFactory(binder.Object); 249var factory = GetModelBinderFactory(binder.Object); 290var factory = GetModelBinderFactory(mockBinder.Object); 339var factory = GetModelBinderFactory(mockBinder.Object); 387var factory = GetModelBinderFactory("Hello"); 445var factory = GetModelBinderFactory(binder.Object); 491var factory = GetModelBinderFactory("Hello"); 534var factory = GetModelBinderFactory("Hello"); 588var factory = GetModelBinderFactory(binder.Object); 631var factory = GetModelBinderFactory("Hello"); 671var factory = GetModelBinderFactory(expected); 711var factory = GetModelBinderFactory(binder); 752var factory = GetModelBinderFactory(binder); 814var factory = GetModelBinderFactory(binder); 877var factory = GetModelBinderFactory(binder); 964var factory = GetModelBinderFactory(inputValue); 1037var factory = GetModelBinderFactory(binder); 1301private static ModelBinderFactory GetModelBinderFactory(object model = null) 1315private static ModelBinderFactory GetModelBinderFactory(IModelBinder binder)
ModelBinding\ModelBinderFactoryTest.cs (13)
24var factory = new ModelBinderFactory( 46var factory = new ModelBinderFactory( 81var factory = new ModelBinderFactory( 120var factory = new ModelBinderFactory( 160var factory = new ModelBinderFactory( 200var factory = new ModelBinderFactory( 230var factory = new ModelBinderFactory( 261var factory = new ModelBinderFactory( 372var factory = new ModelBinderFactory( 428var factory = new ModelBinderFactory( 490var factory = new ModelBinderFactory( 544var factory = new ModelBinderFactory( 608var factory = new ModelBinderFactory(
ModelBinding\ModelBindingHelperTest.cs (2)
769public static ModelBinderFactory GetModelBinderFactory(IModelBinder binder) 779private static ModelBinderFactory GetModelBinderFactory(params IModelBinderProvider[] providers)