8 references to CanGetCompatibleCollection
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\Binders\FormFileModelBinder.cs (1)
41if (!createFileCollection && !ModelBindingHelper.CanGetCompatibleCollection<IFormFile>(bindingContext))
ModelBinding\Binders\HeaderModelBinder.cs (1)
133else 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)
1349var result = ModelBindingHelper.CanGetCompatibleCollection<int>(bindingContext); 1420var result = ModelBindingHelper.CanGetCompatibleCollection<int>(bindingContext); 1436var result = ModelBindingHelper.CanGetCompatibleCollection<int>(bindingContext); 1487var result = ModelBindingHelper.CanGetCompatibleCollection<int>(bindingContext);