Table of Contents

Class ChildActionValueProvider

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

Represents a value provider for values from child actions.

public sealed class ChildActionValueProvider : DictionaryValueProvider<object>, IEnumerableValueProvider, IValueProvider
Inheritance
ChildActionValueProvider
Implements
Inherited Members

Constructors

ChildActionValueProvider(ControllerContext)

Initializes a new instance of the ChildActionValueProvider class.

public ChildActionValueProvider(ControllerContext controllerContext)

Parameters

controllerContext ControllerContext

The controller context.

Methods

GetValue(string)

Retrieves a value object using the specified key.

public override ValueProviderResult GetValue(string key)

Parameters

key string

The key.

Returns

ValueProviderResult

The value object for the specified key.