Interface IContentAreaLoader
Helper class to load data for content area items
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public interface IContentAreaLoader
Methods
Get(ContentAreaItem)
Gets the IContent instance that the content area item references.
Declaration
IContent Get(ContentAreaItem contentAreaItem)
Parameters
Type | Name | Description |
---|---|---|
ContentAreaItem | contentAreaItem |
Returns
Type | Description |
---|---|
IContent |
LoadDisplayOption(ContentAreaItem)
Loads the DisplayOption associated with the content area item
Declaration
DisplayOption LoadDisplayOption(ContentAreaItem contentAreaItem)
Parameters
Type | Name | Description |
---|---|---|
ContentAreaItem | contentAreaItem |
Returns
Type | Description |
---|---|
DisplayOption | The associated DisplayOption or null if no option is associated |