Class UrlTransformator
Class responsible for transforming source page urls to target page urls via url rewriting
Inherited Members
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 |