Search Results for

    Show / Hide Table of Contents

    Class ContentTransformator

    Transforms content from "classic" page to modern client side page

    Inheritance
    System.Object
    BaseTransform
    ContentTransformator
    Inherited Members
    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.Transform
    Assembly: PnP.Framework.dll
    Syntax
    public class ContentTransformator : BaseTransform, IContentTransformator

    Constructors

    ContentTransformator(ClientContext, ClientContext, IPage, PageTransformation, BaseTransformationInformation, IList<ILogObserver>)

    Instantiates the content transformator

    Declaration
    public ContentTransformator(ClientContext sourceClientContext, ClientContext targetClientContext, IPage page, PageTransformation pageTransformation, BaseTransformationInformation transformationInformation, IList<ILogObserver> logObservers = null)
    Parameters
    ClientContext sourceClientContext

    ClientContext targetClientContext

    PnP.Core.Model.SharePoint.IPage page

    Client side page that will be updates

    PageTransformation pageTransformation

    Transformation information

    BaseTransformationInformation transformationInformation

    IList<ILogObserver> logObservers

    Methods

    Transform(List<WebPartEntity>)

    Transforms the passed web parts into the loaded client side page

    Declaration
    public void Transform(List<WebPartEntity> webParts)
    Parameters
    List<WebPartEntity> webParts

    List of web parts that need to be transformed

    Implements
    IContentTransformator.Transform(List<WebPartEntity>)

    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