Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IIconService

    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IIconService

    Methods

    View Source

    GetIcon(String)

    Gets the svg string for the icon name found at the global icons path

    Declaration
    IconModel GetIcon(string iconName)
    Parameters
    Type Name Description
    System.String iconName
    Returns
    Type Description
    IconModel
    View Source

    GetIcons()

    Gets a list of all svg icons found at at the global icons path.

    Declaration
    IReadOnlyDictionary<string, string>? GetIcons()
    Returns
    Type Description
    System.Nullable<IReadOnlyDictionary<System.String, System.String>>
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetIcon(String)
      • GetIcons()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX