Interface ISettingsService
Used to get company settings.
Namespace: DirectScale.Disco.Extension.Services
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public interface ISettingsService
Methods
ExtensionContext()
Declaration
Task<ExtensionContext> ExtensionContext()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ExtensionContext> |
GetAvaliableComponents()
Used to check programatically if specific features are enabled.
Declaration
Task<AvaliableComponent> GetAvaliableComponents()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<AvaliableComponent> |
GetColors()
Gets the configured branding colors.
Declaration
Task<CSSColors> GetColors()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CSSColors> |
GetImagePaths()
Gets the configured cms routes for various icons.
Declaration
Task<CSSImagePaths> GetImagePaths()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CSSImagePaths> |