3 instantiations of FormCollectionModelBinder
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\FormCollectionModelBinderProvider.cs (1)
37
return new
FormCollectionModelBinder
(loggerFactory);
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Binders\FormCollectionModelBinderTest.cs (2)
25
var binder = new
FormCollectionModelBinder
(NullLoggerFactory.Instance);
46
var binder = new
FormCollectionModelBinder
(NullLoggerFactory.Instance);
7 references to FormCollectionModelBinder
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\Binders\FormCollectionModelBinder.cs (2)
22
/// Initializes a new instance of <see cref="
FormCollectionModelBinder
"/>.
29
_logger = loggerFactory.CreateLogger(typeof(
FormCollectionModelBinder
));
ModelBinding\Binders\FormCollectionModelBinderProvider.cs (1)
29
typeof(
FormCollectionModelBinder
).FullName,
Microsoft.AspNetCore.Mvc.Core.Test (4)
ModelBinding\Binders\FormCollectionModelBinderProviderTest.cs (2)
23
$"The '{typeof(
FormCollectionModelBinder
).FullName}' cannot bind to a model of type '{modelType.FullName}'. Change the model type to '{typeof(IFormCollection).FullName}' instead.",
55
Assert.IsType<
FormCollectionModelBinder
>(result);
ModelBinding\Binders\FormCollectionModelBinderTest.cs (2)
25
var
binder = new FormCollectionModelBinder(NullLoggerFactory.Instance);
46
var
binder = new FormCollectionModelBinder(NullLoggerFactory.Instance);