Nucleus .Net Core CMS

Managers.ILayoutManager Interface

Namespace: Nucleus.Abstractions.Managers
Assembly: Nucleus.Abstractions.dll
Provides functions to manage database data for Models.LayoutDefinitions.

Remarks

Get an instance of this class from dependency injection by including a parameter in your class constructor.

Fields

DEFAULT_LAYOUT Field

Default layout filename

Methods

Get (Guid) Method

Get (System.Guid)
Get the specifed Models.LayoutDefinition.

List

List ()
Returns a list of all installed Models.LayoutDefinitions.

ListLayoutPanes (LayoutDefinition) Method

ListLayoutPanes (LayoutDefinition layout)
Scans a layout and returns a list of all panes in the layout.
Parameters
Name Type
layout Nucleus.Abstractions.Models.LayoutDefinition
Remarks
Panes are detected by scanning for RenderPaneAsync("PaneName") statements in the layout.