logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IGlobalServiceFactory

    Factory interface for creating instances of IGlobalService.

    Namespace: Serenity.Global.Application.Interfaces
    Assembly: Serenity.Global.Application.dll
    Syntax
    public interface IGlobalServiceFactory

    Methods

    CreateService(IEventDispatcherService, string, ILogService)

    Creates an instance of IGlobalService.

    Declaration
    IGlobalService CreateService(IEventDispatcherService eventDispatcherService, string initialSceneName, ILogService logService)
    Parameters
    Type Name Description
    IEventDispatcherService eventDispatcherService

    The event dispatcher service to be used by the global service.

    string initialSceneName

    The name of the initial scene to load.

    ILogService logService

    The log service to be used by the global service.

    Returns
    Type Description
    IGlobalService

    A new instance of IGlobalService.

    In this article
    © 2026 Serenity. All Rights Reserved