Search Results for

    Show / Hide Table of Contents

    Class UrlTransformator

    Class responsible for transforming source page urls to target page urls via url rewriting

    Inheritance
    System.Object
    BaseTransform
    UrlTransformator
    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 UrlTransformator : BaseTransform

    Constructors

    UrlTransformator(BaseTransformationInformation, ClientContext, ClientContext, IList<ILogObserver>)

    Default constructor

    Declaration
    public UrlTransformator(BaseTransformationInformation baseTransformationInformation, ClientContext sourceContext, ClientContext targetContext, IList<ILogObserver> logObservers = null)
    Parameters
    BaseTransformationInformation baseTransformationInformation

    Page transformation information object

    ClientContext sourceContext

    ClientContext of the source page

    ClientContext targetContext

    ClientContext of the target page

    IList<ILogObserver> logObservers

    Connected loggers

    Methods

    Transform(String)

    Rewrites the url inside the passed input string

    Declaration
    public string Transform(string input)
    Parameters
    System.String input

    String to url rewrite

    Returns
    System.String

    Url rewritten string

    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