logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class LocalizationSetGameLanguage

    Use case for setting the game language in the localization service.

    Inheritance
    object
    LocalizationSetGameLanguage
    Implements
    ISyncUseCase<LocalizationSetGameLanguageInput>
    IUseCase
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Localization.Application.UseCases
    Assembly: Serenity.Localization.Application.dll
    Syntax
    public class LocalizationSetGameLanguage : ISyncUseCase<LocalizationSetGameLanguageInput>, IUseCase

    Constructors

    LocalizationSetGameLanguage(ILocalizationService)

    Initializes a new instance of the LocalizationSetGameLanguage class.

    Declaration
    public LocalizationSetGameLanguage(ILocalizationService service)
    Parameters
    Type Name Description
    ILocalizationService service

    The localization service instance.

    Methods

    Execute(LocalizationSetGameLanguageInput)

    Executes the use case to set the game language.

    Declaration
    public void Execute(LocalizationSetGameLanguageInput input)
    Parameters
    Type Name Description
    LocalizationSetGameLanguageInput input

    The input data transfer object containing the game ID and language.

    Implements

    ISyncUseCase<TInput>
    IUseCase
    In this article
    © 2026 Serenity. All Rights Reserved