Class DefaultMvcContentRenderer

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Renders a block using the TemplateResolver.

Inheritance
System.Object
DefaultMvcContentRenderer
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Mvc.Internal
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IContentRenderer))]
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class DefaultMvcContentRenderer : IContentRenderer

Constructors

DefaultMvcContentRenderer(DisplayOptions, CachingViewEnginesWrapper, IServiceLocator)

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

Declaration
public DefaultMvcContentRenderer(DisplayOptions displayOptions, CachingViewEnginesWrapper cachingViewEngineWrapper, IServiceLocator serviceLocator)
Parameters
Type Name Description
DisplayOptions displayOptions

The display options.

CachingViewEnginesWrapper cachingViewEngineWrapper

The caching view engine wrapper.

IServiceLocator serviceLocator

The service locator to use

Methods

Render(HtmlHelper, PartialRequest, IContentData, TemplateModel)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Renders the content given by contentData using the System.Web.Mvc.HtmlHelper.ViewContext.

Both partial controllers and partial views can be rendered.

Declaration
public void Render(HtmlHelper helper, PartialRequest partialRequestHandler, IContentData contentData, TemplateModel templateModel)
Parameters
Type Name Description
System.Web.Mvc.HtmlHelper helper

The helper.

PartialRequest partialRequestHandler

The partial request handler.

IContentData contentData

The content data.

TemplateModel templateModel

The template model.

Implements

Extension Methods