Interface IBrandingService
Defines the contract for organization branding operations in the UI.
Namespace: OEMS.UI.Services
Assembly: OEMS.UI.dll
Syntax
public interface IBrandingService
Methods
ApplyDefaultBrandingAsync()
Applies the default branding to the UI.
Declaration
Task ApplyDefaultBrandingAsync()
Returns
Type | Description |
---|---|
Task | A task that represents the asynchronous operation. |
ApplyOrganizationBrandingAsync(string, string)
Applies organization-specific branding to the UI.
Declaration
Task ApplyOrganizationBrandingAsync(string brandingSettings, string logoPath)
Parameters
Type | Name | Description |
---|---|---|
string | brandingSettings | The branding configuration as a JSON string. |
string | logoPath | The path to the organization's logo. |
Returns
Type | Description |
---|---|
Task | A task that represents the asynchronous operation. |
ClearPersistedBrandingAsync()
Declaration
Task ClearPersistedBrandingAsync()
Returns
Type | Description |
---|---|
Task |
LoadPersistedBrandingAsync()
Declaration
Task LoadPersistedBrandingAsync()
Returns
Type | Description |
---|---|
Task |
ParseBrandingSettingsAsync(string)
Declaration
Task<BrandingSettings> ParseBrandingSettingsAsync(string brandingJson)
Parameters
Type | Name | Description |
---|---|---|
string | brandingJson |
Returns
Type | Description |
---|---|
Task<BrandingSettings> |