Implemented interface member:
method
CreateBinder
Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinderFactory.CreateBinder(Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactoryContext)
23 references to CreateBinder
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ModelBinderFactoryContext.cs (1)
9
/// A context object for <see cref="ModelBinderFactory.
CreateBinder
"/>.
Microsoft.AspNetCore.Mvc.Core.Test (22)
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 (19)
34
var exception = Assert.Throws<InvalidOperationException>(() => factory.
CreateBinder
(context));
56
var exception = Assert.Throws<InvalidOperationException>(() => factory.
CreateBinder
(context));
92
var result = factory.
CreateBinder
(context);
131
var result = factory.
CreateBinder
(context);
171
var result = factory.
CreateBinder
(context);
211
var result = factory.
CreateBinder
(context);
241
var result1 = factory.
CreateBinder
(context);
242
var result2 = factory.
CreateBinder
(context);
273
var result1 = factory.
CreateBinder
(context);
274
var result2 = factory.
CreateBinder
(context);
383
var result = factory.
CreateBinder
(factoryContext);
440
var result1 = factory.
CreateBinder
(context);
441
var result2 = factory.
CreateBinder
(context);
502
var result1 = factory.
CreateBinder
(context);
503
var result2 = factory.
CreateBinder
(context);
556
var result1 = factory.
CreateBinder
(context);
562
var result2 = factory.
CreateBinder
(context);
620
var result1 = factory.
CreateBinder
(context);
626
var result2 = factory.
CreateBinder
(context);