Table of Contents

Class QueryStringValueProviderFactory

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

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

public sealed class QueryStringValueProviderFactory : ValueProviderFactory
Inheritance
QueryStringValueProviderFactory
Inherited Members

Constructors

QueryStringValueProviderFactory()

Initializes a new instance of the QueryStringValueProviderFactory class.

public QueryStringValueProviderFactory()

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 current HTTP request.

Returns

IValueProvider

A query-string value-provider object.

Exceptions

ArgumentNullException

The controllerContext parameter is null.