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)
1093return (ComplexObjectModelBinder)factory.CreateBinder(new ModelBinderFactoryContext()
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
1257return (TestableComplexTypeModelBinder)factory.CreateBinder(new ModelBinderFactoryContext()
ModelBinding\Binders\HeaderModelBinderTests.cs (1)
376return factory.CreateBinder(new ModelBinderFactoryContext()
ModelBinding\ModelBinderFactoryTest.cs (19)
34var exception = Assert.Throws<InvalidOperationException>(() => factory.CreateBinder(context)); 56var exception = Assert.Throws<InvalidOperationException>(() => factory.CreateBinder(context)); 92var result = factory.CreateBinder(context); 131var result = factory.CreateBinder(context); 171var result = factory.CreateBinder(context); 211var result = factory.CreateBinder(context); 241var result1 = factory.CreateBinder(context); 242var result2 = factory.CreateBinder(context); 273var result1 = factory.CreateBinder(context); 274var result2 = factory.CreateBinder(context); 383var result = factory.CreateBinder(factoryContext); 440var result1 = factory.CreateBinder(context); 441var result2 = factory.CreateBinder(context); 502var result1 = factory.CreateBinder(context); 503var result2 = factory.CreateBinder(context); 556var result1 = factory.CreateBinder(context); 562var result2 = factory.CreateBinder(context); 620var result1 = factory.CreateBinder(context); 626var result2 = factory.CreateBinder(context);