logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class LocalizationGetVoiceLanguage

    Use case for retrieving the current voice language from the localization service.

    Inheritance
    object
    LocalizationGetVoiceLanguage
    Implements
    ISyncQueryUseCase<string>
    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 LocalizationGetVoiceLanguage : ISyncQueryUseCase<string>, IUseCase

    Constructors

    LocalizationGetVoiceLanguage(ILocalizationService)

    Initializes a new instance of the LocalizationGetVoiceLanguage class.

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

    The localization service instance.

    Methods

    Execute()

    Executes the use case to get the current voice language.

    Declaration
    public string Execute()
    Returns
    Type Description
    string

    Implements

    ISyncQueryUseCase<TOutput>
    IUseCase
    In this article
    © 2026 Serenity. All Rights Reserved