Class SettingsService
Inheritance
System.Object
SettingsService
Implements
Namespace: DirectScale.Disco.Extension.Services
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class SettingsService : Object, ISettingsService
Constructors
SettingsService(IApiService)
Declaration
public SettingsService(IApiService apiService)
Parameters
Type | Name | Description |
---|---|---|
IApiService | apiService |
Methods
ExtensionContext()
Declaration
public Task<ExtensionContext> ExtensionContext()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ExtensionContext> |
GetAvaliableComponents()
Used to check programatically if specific features are enabled.
Declaration
public Task<AvaliableComponent> GetAvaliableComponents()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<AvaliableComponent> |
GetColors()
Gets the configured branding colors.
Declaration
public Task<CSSColors> GetColors()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CSSColors> |
GetImagePaths()
Gets the configured cms routes for various icons.
Declaration
public Task<CSSImagePaths> GetImagePaths()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CSSImagePaths> |