logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UiInstaller

    Abstract base class for UI installers.

    Inheritance
    object
    UiInstaller
    Implements
    IInstaller
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Installation.Installers
    Assembly: Serenity.Ui.Installation.dll
    Syntax
    public abstract class UiInstaller : IInstaller

    Constructors

    UiInstaller()

    Declaration
    protected UiInstaller()

    Fields

    _logService

    Declaration
    protected ILogService _logService
    Field Value
    Type Description
    ILogService

    The Service for logging messages and errors.

    _service

    Declaration
    protected IUiService _service
    Field Value
    Type Description
    IUiService

    The UI service being installed.

    _serviceFactory

    Declaration
    protected IUiServiceFactory _serviceFactory
    Field Value
    Type Description
    IUiServiceFactory

    The service factory for creating UI services.

    _uiRoot

    Declaration
    protected object _uiRoot
    Field Value
    Type Description
    object

    The root object for the UI.

    _useCases

    Declaration
    protected UiUseCases _useCases
    Field Value
    Type Description
    UiUseCases

    The use cases for UI operations.

    Properties

    UiService

    Declaration
    public IUiService UiService { get; }
    Property Value
    Type Description
    IUiService

    The Service for managing UI operations.

    Methods

    GetService()

    Gets the service for UI operations.

    Declaration
    public IUiService GetService()
    Returns
    Type Description
    IUiService

    The service for UI operations.

    GetUiRoot()

    Gets the root object for the UI.

    Declaration
    public object GetUiRoot()
    Returns
    Type Description
    object

    The root object for the UI.

    GetUseCases()

    Gets the use cases for UI operations.

    Declaration
    public UiUseCases GetUseCases()
    Returns
    Type Description
    UiUseCases

    The use cases for UI operations.

    Install(UiInstallerInstallInput)

    Installs the UI module.

    Declaration
    public abstract void Install(UiInstallerInstallInput input)
    Parameters
    Type Name Description
    UiInstallerInstallInput input

    The input parameters for installation.

    InstallService(IUiSettings, IEventDispatcherService, ILogService)

    Installs the UI Service.

    Declaration
    protected abstract IUiService InstallService(IUiSettings uiSettings, IEventDispatcherService eventDispatcherService, ILogService logService)
    Parameters
    Type Name Description
    IUiSettings uiSettings

    The settings for the UI.

    IEventDispatcherService eventDispatcherService

    The event dispatcher service.

    ILogService logService

    The log service.

    Returns
    Type Description
    IUiService

    The installed UI service.

    InstallServiceFactory()

    Installs the UI presenter.

    Declaration
    protected abstract IUiServiceFactory InstallServiceFactory()
    Returns
    Type Description
    IUiServiceFactory

    The installed UI presenter.

    InstallUseCases(IUiService, IUiPresenter)

    Installs the UI use cases.

    Declaration
    protected abstract UiUseCases InstallUseCases(IUiService service, IUiPresenter presenter)
    Parameters
    Type Name Description
    IUiService service

    The UI service.

    IUiPresenter presenter

    The UI presenter.

    Returns
    Type Description
    UiUseCases

    The installed UI use cases.

    Implements

    IInstaller
    In this article
    © 2026 Serenity. All Rights Reserved