Class MvcContentRenderer
The default implementation of IContentRenderer.
Inheritance
System.Object
MvcContentRenderer
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
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class MvcContentRenderer : IContentRenderer
Constructors
MvcContentRenderer()
Declaration
public MvcContentRenderer()
Methods
Render(HtmlHelper, PartialRequest, IContentData, TemplateModel)
Renders the content given by contentData
using the System.Web.Mvc.HtmlHelper.ViewContext.
Both partial controllers and partial views can be rendered.
Declaration
public virtual 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. |