Table of Contents

Class FormValueProviderFactory

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

Represents a class that is responsible for creating a new instance of a form-value provider object.

public sealed class FormValueProviderFactory : ValueProviderFactory
Inheritance
FormValueProviderFactory
Inherited Members

Constructors

FormValueProviderFactory()

Initializes a new instance of the FormValueProviderFactory class.

public FormValueProviderFactory()

Methods

GetValueProvider(ControllerContext)

Returns a form-value provider object for the specified controller context.

public override IValueProvider GetValueProvider(ControllerContext controllerContext)

Parameters

controllerContext ControllerContext

An object that encapsulates information about the current HTTP request.

Returns

IValueProvider

A form-value provider object.

Exceptions

ArgumentNullException

The controllerContext parameter is null.