Class ContentDataValueProviderFactory

Factory class used to create a ContentDataValueProvider.

Inheritance
System.Object
ContentDataValueProviderFactory
Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class ContentDataValueProviderFactory : ValueProviderFactory

Constructors

ContentDataValueProviderFactory(ViewContentRetriever)

Initializes a new instance of the ContentDataValueProviderFactory class.

Declaration
public ContentDataValueProviderFactory(ViewContentRetriever viewContentRetriever)
Parameters
Type Name Description
ViewContentRetriever viewContentRetriever

The view content retriever.

Methods

GetValueProvider(ControllerContext)

Gets an instance of a ContentDataValueProvider.

Declaration
public override IValueProvider GetValueProvider(ControllerContext controllerContext)
Parameters
Type Name Description
System.Web.Mvc.ControllerContext controllerContext

The current controller context.

Returns
Type Description
System.Web.Mvc.IValueProvider

An ContentDataValueProvider instance.

Extension Methods