logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IGlobalService

    Interface representing global application services.

    Inherited Members
    IService.LogService
    Namespace: Serenity.Global.Application.Interfaces
    Assembly: Serenity.Global.Application.dll
    Syntax
    public interface IGlobalService : IService, IFoundationSettings

    Methods

    ExitApplication()

    Exits the application.

    Declaration
    void ExitApplication()

    Initialize(IEventDispatcherService, string, ILogService)

    Initializes the global service.

    Declaration
    void Initialize(IEventDispatcherService eventDispatcherService, string initialSceneName, ILogService logService)
    Parameters
    Type Name Description
    IEventDispatcherService eventDispatcherService

    Event dispatcher service for global communication

    string initialSceneName

    Name of the initial scene for restart functionality

    ILogService logService

    The log service for logging information.

    RestartApplication()

    Restarts the application.

    Declaration
    void RestartApplication()
    In this article
    © 2026 Serenity. All Rights Reserved