November Happy Hour will be moved to Thursday December 5th.

Interface IContentAreaLoader

Helper class to load data for content area items

Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
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

Extension Methods