You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.
When using IFormCollection, it is easy to get the form keys.
But when working with the IFormFileCollection interface, there is not way to get all form names and file names (somehing like IFormCollection.Keys / IFormCollection.FileNames) or at least two properties IFormFile.FileName and IFormFile.Name.
I have found a workaround (using ContentDispositionHeaderValue like in the FormFileCollection class, but it is not very fun to use.
The text was updated successfully, but these errors were encountered:
This commits also gets rid of the name
closure in FormFileCollection by interating
over the files in the collection instead
of using Find and FindAll.
Closesaspnet#352 and aspnet#499
When using
IFormCollection
, it is easy to get the form keys.But when working with the
IFormFileCollection
interface, there is not way to get all form names and file names (somehing likeIFormCollection.Keys
/IFormCollection.FileNames
) or at least two propertiesIFormFile.FileName
andIFormFile.Name
.I have found a workaround (using
ContentDispositionHeaderValue
like in theFormFileCollection
class, but it is not very fun to use.The text was updated successfully, but these errors were encountered: