Initializes a new instance of the PageContentToRender class.

Namespace: Composite.Core.PageTemplates
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public PageContentToRender(
	IPage page,
	IEnumerable<IPagePlaceholderContent> contents,
	bool isPreview
)
Visual Basic
Public Sub New ( _
	page As IPage, _
	contents As IEnumerable(Of IPagePlaceholderContent), _
	isPreview As Boolean _
)
Visual C++
public:
PageContentToRender(
	IPage^ page, 
	IEnumerable<IPagePlaceholderContent^>^ contents, 
	bool isPreview
)

Parameters

page
Type: Composite.Data.Types..::..IPage
The page.
contents
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'IPagePlaceholderContent>)>)>
The contents.
isPreview
Type: System..::..Boolean
if set to true the page should be rendered in preview mode.

See Also