Class TokenParser
Resolves tokens by their actual representation
Inheritance
System.Object
TokenParser
Namespace: PnP.Framework.Modernization.Transform
Assembly: PnP.Framework.dll
Syntax
public static class TokenParser : object
Methods
ReplaceTokens(String, WebPartEntity)
Replaces the tokens in the provided input string with their values
Declaration
public static string ReplaceTokens(string input, WebPartEntity webPartData)
Parameters
System.String
input
String with tokens |
WebPartEntity
webPartData
Web part information holding all possible tokens for this web part |
Returns
System.String
A string with tokens replaced by actual values |