View Source
Class IconService
Inheritance
System.Object
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class IconService : IIconService
Constructors
View Source
IconService(IOptionsMonitor<GlobalSettings>, Hosting.IHostingEnvironment, AppCaches)
Declaration
public IconService(IOptionsMonitor<GlobalSettings> globalSettings, Hosting.IHostingEnvironment hostingEnvironment, AppCaches appCaches)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.Options.IOptionsMonitor<GlobalSettings> |
globalSettings |
|
IHostingEnvironment |
hostingEnvironment |
|
AppCaches |
appCaches |
|
View Source
IconService(IOptionsMonitor<GlobalSettings>, Hosting.IHostingEnvironment, AppCaches, IWebHostEnvironment)
Declaration
public IconService(IOptionsMonitor<GlobalSettings> globalSettings, Hosting.IHostingEnvironment hostingEnvironment, AppCaches appCaches, IWebHostEnvironment webHostEnvironment)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.Options.IOptionsMonitor<GlobalSettings> |
globalSettings |
|
IHostingEnvironment |
hostingEnvironment |
|
AppCaches |
appCaches |
|
Microsoft.AspNetCore.Hosting.IWebHostEnvironment |
webHostEnvironment |
|
Methods
View Source
GetIcon(String)
Declaration
public IconModel? GetIcon(string iconName)
Parameters
Type |
Name |
Description |
System.String |
iconName |
|
Returns
Type |
Description |
System.Nullable<IconModel> |
|
View Source
GetIcons()
Declaration
public IReadOnlyDictionary<string, string>? GetIcons()
Returns
Type |
Description |
System.Nullable<IReadOnlyDictionary<System.String, System.String>> |
|