Class FunctionProcessor
Class that executes functions and selectors defined in the mapping
Inherited Members
Namespace: PnP.Framework.Modernization.Functions
Assembly: PnP.Framework.dll
Syntax
public class FunctionProcessor : BaseFunctionProcessor
Constructors
FunctionProcessor(ClientContext, ClientContext, IPage, PageTransformation, BaseTransformationInformation, IList<ILogObserver>)
Methods
Process(ref WebPart, WebPartEntity)
Executes the defined functions and selectors in the provided web part
Declaration
public string Process(ref WebPart webPartData, WebPartEntity webPart)
Parameters
WebPart
webPartData
Web Part mapping data |
WebPartEntity
webPart
Definition of the web part to be transformed |
Returns
System.String
The ouput of the mapping selector if there was one executed, null otherwise |
ProcessMappingFunctions(ref WebPart, WebPartEntity, Mapping)
Executes the defined functions and selectors in the provided web part
Declaration
public void ProcessMappingFunctions(ref WebPart webPartData, WebPartEntity webPart, Mapping webPartMapping)
Parameters
WebPart
webPartData
Web Part mapping data |
WebPartEntity
webPart
Definition of the web part to be transformed |
Mapping
webPartMapping
|