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
ListItem
page
ListItem holding the page to analyze |
PageTransformation
pageTransformation
Page transformation information |
PublishingPageTransformation
publishingPageTransformation
|
BaseTransformationInformation
baseTransformationInformation
|
ClientContext
targetContext
|
IList<ILogObserver>
logObservers
|
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
ListItem
page
ListItem holding the page to analyze |
PageTransformation
pageTransformation
Page transformation information |
BaseTransformationInformation
baseTransformationInformation
Page transformation information |
IList<ILogObserver>
logObservers
|
Methods
Analyze(PageLayout)
Analyses a publishing page
Declaration
public virtual Tuple<PageLayout, List<WebPartEntity>> Analyze(PageLayout publishingPageTransformationModel)
Parameters
PageLayout
publishingPageTransformationModel
|
Returns
Tuple<PageLayout, List<WebPartEntity>>
Information about the analyzed publishing page |
GetWebPartsForScanner()
Analyses a publishing page for scanner usage
Declaration
public Tuple<PageLayout, List<WebPartEntity>> GetWebPartsForScanner()
Returns
Tuple<PageLayout, List<WebPartEntity>>
Information about the analyzed publishing page |