FormFileValueProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An IValueProvider adapter for data stored in an IFormFileCollection.
public ref class FormFileValueProvider sealed : Microsoft::AspNetCore::Mvc::ModelBinding::IValueProvider
public sealed class FormFileValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider
type FormFileValueProvider = class
interface IValueProvider
Public NotInheritable Class FormFileValueProvider
Implements IValueProvider
- Inheritance
-
FormFileValueProvider
- Implements
Remarks
Unlike most IValueProvider instances, FormFileValueProvider does not provide any values, but specifically responds to ContainsPrefix(String) queries. This allows the model binding system to recurse in to deeply nested object graphs with only values for form files.
Constructors
FormFileValueProvider(IFormFileCollection) |
Creates a value provider for IFormFileCollection. |
Methods
ContainsPrefix(String) |
Determines whether the collection contains the specified prefix. |
GetValue(String) |
Retrieves a value object using the specified key. |