Search Results for

    Show / Hide Table of Contents

    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

    Implements
    IHtmlTransformator.Transform(String, Boolean)

    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