Search Results for

    Show / Hide Table of Contents

    Class ClientSidePageContentsHelper

    Helper class holding public methods that used by the client side page object handler. The purpose is to be able to reuse these public methods in a extensibility provider

    Inheritance
    System.Object
    ClientSidePageContentsHelper
    Namespace: PnP.Framework.Provisioning.ObjectHandlers.Utilities
    Assembly: PnP.Framework.dll
    Syntax
    public class ClientSidePageContentsHelper : object

    Methods

    ExtractClientSidePage(Web, ProvisioningTemplate, ProvisioningTemplateCreationInformation, PnPMonitoredScope, PageToExport)

    Extracts a client side page

    Declaration
    public void ExtractClientSidePage(Web web, ProvisioningTemplate template, ProvisioningTemplateCreationInformation creationInfo, PnPMonitoredScope scope, PageToExport page)
    Parameters
    Web web

    Web to extract the page from

    ProvisioningTemplate template

    Current provisioning template that will hold the extracted page

    ProvisioningTemplateCreationInformation creationInfo

    ProvisioningTemplateCreationInformation passed into the provisioning engine

    PnPMonitoredScope scope

    Scope used for logging

    PageToExport page

    page to be exported

    ExtractClientSidePage(Web, ProvisioningTemplate, ProvisioningTemplateCreationInformation, PnPMonitoredScope, String, String, Boolean, Boolean)

    Declaration
    public void ExtractClientSidePage(Web web, ProvisioningTemplate template, ProvisioningTemplateCreationInformation creationInfo, PnPMonitoredScope scope, string pageUrl, string pageName, bool isHomePage, bool isTemplate = false)
    Parameters
    Web web

    ProvisioningTemplate template

    ProvisioningTemplateCreationInformation creationInfo

    PnPMonitoredScope scope

    System.String pageUrl

    System.String pageName

    System.Boolean isHomePage

    System.Boolean isTemplate

    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