8 references to CanGetCompatibleCollection
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\Binders\FormFileModelBinder.cs (1)
41
if (!createFileCollection && !ModelBindingHelper.
CanGetCompatibleCollection
<IFormFile>(bindingContext))
ModelBinding\Binders\HeaderModelBinder.cs (1)
133
else if (ModelBindingHelper.
CanGetCompatibleCollection
<string>(bindingContext))
ModelBinding\ModelBindingHelper.cs (2)
514
/// Should not be called if <see cref="
CanGetCompatibleCollection
{T}"/> returned <c>false</c>.
535
/// Should not be called if <see cref="
CanGetCompatibleCollection
{T}"/> returned <c>false</c>.
Microsoft.AspNetCore.Mvc.Core.Test (4)
ModelBinding\ModelBindingHelperTest.cs (4)
1349
var result = ModelBindingHelper.
CanGetCompatibleCollection
<int>(bindingContext);
1420
var result = ModelBindingHelper.
CanGetCompatibleCollection
<int>(bindingContext);
1436
var result = ModelBindingHelper.
CanGetCompatibleCollection
<int>(bindingContext);
1487
var result = ModelBindingHelper.
CanGetCompatibleCollection
<int>(bindingContext);