Search Results for

    Show / Hide Table of Contents

    Class BrandingService

    Provides organization branding operations for the UI using JavaScript interop.

    Inheritance
    object
    BrandingService
    Implements
    IBrandingService
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OEMS.UI.Services
    Assembly: OEMS.UI.dll
    Syntax
    public class BrandingService : IBrandingService

    Constructors

    BrandingService(IJSRuntime, ILogger<BrandingService>)

    Initializes a new instance of the BrandingService class.

    Declaration
    public BrandingService(IJSRuntime jsRuntime, ILogger<BrandingService> logger)
    Parameters
    Type Name Description
    IJSRuntime jsRuntime

    The JavaScript runtime for executing client-side branding operations.

    ILogger<BrandingService> logger

    The logger for recording service operations.

    Methods

    ApplyDefaultBrandingAsync()

    Applies the default branding to the UI.

    Declaration
    public Task ApplyDefaultBrandingAsync()
    Returns
    Type Description
    Task

    A task that represents the asynchronous operation.

    ApplyOrganizationBrandingAsync(string, string)

    Applies organization-specific branding to the UI.

    Declaration
    public 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
    public Task ClearPersistedBrandingAsync()
    Returns
    Type Description
    Task

    LoadPersistedBrandingAsync()

    Declaration
    public Task LoadPersistedBrandingAsync()
    Returns
    Type Description
    Task

    ParseBrandingSettingsAsync(string)

    Declaration
    public Task<BrandingSettings> ParseBrandingSettingsAsync(string brandingJson)
    Parameters
    Type Name Description
    string brandingJson
    Returns
    Type Description
    Task<BrandingSettings>

    Implements

    IBrandingService
    In this article
    Back to top Generated by DocFX