Table of Contents

Class HttpFileCollectionValueProviderFactory

Namespace
System.Web.Mvc
Assembly
System.Web.Mvc.dll

Represents a class that is responsible for creating a new instance of an HTTP file collection value provider object.

public sealed class HttpFileCollectionValueProviderFactory : ValueProviderFactory
Inheritance
HttpFileCollectionValueProviderFactory
Inherited Members

Constructors

HttpFileCollectionValueProviderFactory()

Initializes a new instance of the HttpFileCollectionValueProviderFactory class.

public HttpFileCollectionValueProviderFactory()

Methods

GetValueProvider(ControllerContext)

Returns a value provider object for the specified controller context.

public override IValueProvider GetValueProvider(ControllerContext controllerContext)

Parameters

controllerContext ControllerContext

An object that encapsulates information about the HTTP request.

Returns

IValueProvider

An HTTP file collection value provider.

Exceptions

ArgumentNullException

The controllerContext parameter is null.