Interface IContentRenderer
Renders partial content
Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.Cms.AspNetCore.Mvc.dll
Version: 12.0.3Syntax
public interface IContentRenderer
Methods
RenderAsync(IHtmlHelper, IContentData, TemplateModel)
Renders the content given by contentData
using the Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper.ViewContext.
Declaration
Task RenderAsync(IHtmlHelper helper, IContentData contentData, TemplateModel templateModel)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper | helper | The helper. |
IContentData | contentData | The content data. |
TemplateModel | templateModel | The template model. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |