Nucleus .Net Core CMS

Layout.IModuleContentRenderer Interface

Namespace: Nucleus.Abstractions.Layout
Assembly: Nucleus.Abstractions.dll
Defines the interface for the module content renderer.

Remarks

A module content renderer renders the modules that make up a "pane" in a page.

Methods

RenderPaneAsync (IHtmlHelper,String) Method

RenderPaneAsync (IHtmlHelper htmlHelper, String paneName)
Render the module instances within the specified pane.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
paneName String

RenderModuleView (IHtmlHelper,PageModule,Boolean) Method

RenderModuleView (IHtmlHelper htmlHelper, PageModule moduleInfo, Boolean renderContainer)
Render a module's "View" action.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
moduleInfo Nucleus.Abstractions.Models.PageModule

Specifies the module being rendered.

renderContainer Boolean

Specifies whether to wrap the module output in a container.

RenderModuleEditor (IHtmlHelper,PageModule,Boolean) Method

RenderModuleEditor (IHtmlHelper htmlHelper, PageModule moduleInfo, Boolean renderContainer)
Render a module's "Edit" action.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
moduleInfo Nucleus.Abstractions.Models.PageModule

Specifies the module being rendered.

renderContainer Boolean

Specifies whether to wrap the module output in a container.