Initializes a new instance of the PageContentToRender class.
Namespace: Composite.Core.PageTemplatesAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
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.