Search Results for

    Show / Hide Table of Contents

    Class PublishingPage

    Analyzes a publishing page

    Inheritance
    System.Object
    BaseTransform
    BasePage
    PublishingPage
    PublishingPageOnPremises
    Inherited Members
    BasePage.page
    BasePage.pageFile
    BasePage.cc
    BasePage.pageTransformation
    BasePage.GetType(String)
    BasePage.GetTypeFromProperties(Dictionary<String, Object>, Boolean)
    BasePage.Properties(Dictionary<String, Object>, String, String)
    BaseTransform.RegisteredLogObservers
    BaseTransform.RegisterObserver(ILogObserver)
    BaseTransform.FlushObservers()
    BaseTransform.FlushSpecificObserver<T>()
    BaseTransform.LogError(String, String, Exception, Boolean, Boolean)
    BaseTransform.LogInfo(String, String, LogEntrySignificance)
    BaseTransform.LogWarning(String, String)
    BaseTransform.LogDebug(String, String)
    BaseTransform.Log(LogEntry, LogLevel)
    BaseTransform.SetPageId(String)
    BaseTransform.GetExactVersion(ClientRuntimeContext)
    BaseTransform.GetVersion(ClientRuntimeContext)
    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

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer