Class ContentDataValueProviderFactory

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Factory class used to create a ContentDataValueProvider.

Inheritance
System.Object
ContentDataValueProviderFactory
Namespace: EPiServer.Web.Mvc.Internal
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class ContentDataValueProviderFactory : ValueProviderFactory

Constructors

ContentDataValueProviderFactory(IViewContentRetriever)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the ContentDataValueProviderFactory class.

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

The view content retriever.

Methods

GetValueProvider(ControllerContext)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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