View Source
Interface IIconService
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
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>> |
|