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