Class PublishingPageOnPremises
Analyzes a publishing page
Inherited Members
Namespace: PnP.Framework.Modernization.Pages
Assembly: PnP.Framework.dll
Syntax
public class PublishingPageOnPremises : PublishingPage
Constructors
PublishingPageOnPremises(ListItem, PageTransformation, PublishingPageTransformation, BaseTransformationInformation, ClientContext, IList<ILogObserver>)
Instantiates a publishing page object
Declaration
public PublishingPageOnPremises(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
Page transformation information |
ClientContext
targetContext
|
IList<ILogObserver>
logObservers
|
PublishingPageOnPremises(ListItem, PageTransformation, BaseTransformationInformation, IList<ILogObserver>)
Instantiates a publishing page object
Declaration
public PublishingPageOnPremises(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 override Tuple<PageLayout, List<WebPartEntity>> Analyze(PageLayout publishingPageTransformationModel)
Parameters
PageLayout
publishingPageTransformationModel
|
Returns
Tuple<PageLayout, List<WebPartEntity>>
Information about the analyzed publishing page |