Class PublishingPage
Analyzes a publishing page
Inherited Members
Namespace: PnP.Framework.Modernization.Pages
Assembly: PnP.Framework.dll
Syntax
public class PublishingPage : BasePage
Constructors
PublishingPage(ListItem, PageTransformation, PublishingPageTransformation, BaseTransformationInformation, ClientContext, IList<ILogObserver>)
Instantiates a publishing page object
Declaration
public PublishingPage(ListItem page, PageTransformation pageTransformation, PublishingPageTransformation publishingPageTransformation, BaseTransformationInformation baseTransformationInformation, ClientContext targetContext = null, IList<ILogObserver> logObservers = null)
Parameters
List ListItem holding the page to analyze |
Page Page transformation information |
Publishing
|
Base
|
Client
|
IList<ILog
|
PublishingPage(ListItem, PageTransformation, BaseTransformationInformation, IList<ILogObserver>)
Instantiates a publishing page object
Declaration
public PublishingPage(ListItem page, PageTransformation pageTransformation, BaseTransformationInformation baseTransformationInformation, IList<ILogObserver> logObservers = null)
Parameters
List ListItem holding the page to analyze |
Page Page transformation information |
Base Page transformation information |
IList<ILog
|
Methods
Analyze(PageLayout)
Analyses a publishing page
Declaration
public virtual Tuple<PageLayout, List<WebPartEntity>> Analyze(PageLayout publishingPageTransformationModel)
Parameters
Page
|
Returns
Tuple<Page Information about the analyzed publishing page |
GetWebPartsForScanner()
Analyses a publishing page for scanner usage
Declaration
public Tuple<PageLayout, List<WebPartEntity>> GetWebPartsForScanner()
Returns
Tuple<Page Information about the analyzed publishing page |