logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface ILocalizationServiceFactory

    Factory interface for creating localization service instances.

    Namespace: Serenity.Localization.Application.Interfaces.Factories
    Assembly: Serenity.Localization.Application.dll
    Syntax
    public interface ILocalizationServiceFactory

    Methods

    CreateService(string, ILocalizationSettings, IEventDispatcherService, IGameSettingsService)

    Creates a new localization service instance with the specified configuration.

    Declaration
    ILocalizationService CreateService(string serviceName, ILocalizationSettings settings, IEventDispatcherService eventDispatcherService, IGameSettingsService gameSettingsService)
    Parameters
    Type Name Description
    string serviceName

    The name of the localization service instance.

    ILocalizationSettings settings

    The localization settings to configure the service.

    IEventDispatcherService eventDispatcherService

    The event dispatcher service for handling localization events.

    IGameSettingsService gameSettingsService

    The game settings service for accessing game-wide settings.

    Returns
    Type Description
    ILocalizationService

    Configured localization service instance.

    In this article
    © 2026 Serenity. All Rights Reserved