Class SummaryLinksHtmlTransformator
This class is used to rewrite the html coming out of the SummaryLinks web part
Inheritance
System.Object
SummaryLinksHtmlTransformator
Namespace: PnP.Framework.Modernization.Transform
Assembly: PnP.Framework.dll
Syntax
public class SummaryLinksHtmlTransformator : object, IHtmlTransformator
Constructors
SummaryLinksHtmlTransformator()
Default constructor
Declaration
public SummaryLinksHtmlTransformator()
Properties
WebPartTitle
Declaration
public string WebPartTitle { get; set; }
Property Value
System.String
|
Methods
GetLinks(String)
Transforms the passed summarylinks html a list of links
Declaration
public List<SummaryLink> GetLinks(string text)
Parameters
System.String
text
Summarylinks html to be transformed |
Returns
List<SummaryLink>
List of links |
Transform(String, Boolean)
Transforms the passed summarylinks html to be usable by the client side text part
Declaration
public string Transform(string text, bool usePlaceHolder)
Parameters
System.String
text
Summarylinks html to be transformed |
System.Boolean
usePlaceHolder
|
Returns
System.String
Html that can be used and edited via the client side text part |