24 instantiations of ModelBinderFactoryContext
Microsoft.AspNetCore.Mvc.Core (3)
Controllers\ControllerBinderDelegateProvider.cs (2)
149
var binder = modelBinderFactory.CreateBinder(new
ModelBinderFactoryContext
179
var binder = modelBinderFactory.CreateBinder(new
ModelBinderFactoryContext
ModelBinding\ModelBindingHelper.cs (1)
251
var factoryContext = new
ModelBinderFactoryContext
()
Microsoft.AspNetCore.Mvc.Core.Test (16)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (1)
1093
return (ComplexObjectModelBinder)factory.CreateBinder(new
ModelBinderFactoryContext
()
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
1257
return (TestableComplexTypeModelBinder)factory.CreateBinder(new
ModelBinderFactoryContext
()
ModelBinding\Binders\HeaderModelBinderTests.cs (1)
376
return factory.CreateBinder(new
ModelBinderFactoryContext
()
ModelBinding\ModelBinderFactoryTest.cs (13)
28
var context = new
ModelBinderFactoryContext
()
50
var context = new
ModelBinderFactoryContext
()
86
var context = new
ModelBinderFactoryContext
()
125
var context = new
ModelBinderFactoryContext
()
165
var context = new
ModelBinderFactoryContext
()
205
var context = new
ModelBinderFactoryContext
()
235
var context = new
ModelBinderFactoryContext
()
266
var context = new
ModelBinderFactoryContext
()
376
var factoryContext = new
ModelBinderFactoryContext
433
var context = new
ModelBinderFactoryContext
()
495
var context = new
ModelBinderFactoryContext
()
549
var context = new
ModelBinderFactoryContext
()
613
var context = new
ModelBinderFactoryContext
()
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
ComplexRecordIntegrationTest.cs (1)
4254
var factoryContext = new
ModelBinderFactoryContext
ComplexTypeIntegrationTestBase.cs (1)
3753
var factoryContext = new
ModelBinderFactoryContext
ParameterBinderExtensions.cs (1)
67
var modelBinder = modelBinderFactory.CreateBinder(new
ModelBinderFactoryContext
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageBinderFactory.cs (2)
34
var binder = modelBinderFactory.CreateBinder(new
ModelBinderFactoryContext
115
var binder = modelBinderFactory.CreateBinder(new
ModelBinderFactoryContext
21 references to ModelBinderFactoryContext
Microsoft.AspNetCore.Mvc.Core (5)
ModelBinding\IModelBinderFactory.cs (2)
16
/// <param name="context">The <see cref="
ModelBinderFactoryContext
"/>.</param>
18
IModelBinder CreateBinder(
ModelBinderFactoryContext
context);
ModelBinding\ModelBinderFactory.cs (2)
51
public IModelBinder CreateBinder(
ModelBinderFactoryContext
context)
206
ModelBinderFactoryContext
factoryContext)
ModelBinding\ModelBindingHelper.cs (1)
251
var
factoryContext = new ModelBinderFactoryContext()
Microsoft.AspNetCore.Mvc.Core.Test (14)
ControllerBaseTest.cs (1)
3222
.Setup(f => f.CreateBinder(It.IsAny<
ModelBinderFactoryContext
>()))
ModelBinding\ModelBinderFactoryTest.cs (13)
28
var
context = new ModelBinderFactoryContext()
50
var
context = new ModelBinderFactoryContext()
86
var
context = new ModelBinderFactoryContext()
125
var
context = new ModelBinderFactoryContext()
165
var
context = new ModelBinderFactoryContext()
205
var
context = new ModelBinderFactoryContext()
235
var
context = new ModelBinderFactoryContext()
266
var
context = new ModelBinderFactoryContext()
376
var
factoryContext = new ModelBinderFactoryContext
433
var
context = new ModelBinderFactoryContext()
495
var
context = new ModelBinderFactoryContext()
549
var
context = new ModelBinderFactoryContext()
613
var
context = new ModelBinderFactoryContext()
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
ComplexRecordIntegrationTest.cs (1)
4254
var
factoryContext = new ModelBinderFactoryContext
ComplexTypeIntegrationTestBase.cs (1)
3753
var
factoryContext = new ModelBinderFactoryContext