Class LangContext
The Lang context of the application.
Inherited Members
Namespace: Unity.AppUI.Core
Assembly: Unity.AppUI.dll
Syntax
public record LangContext : IContext, IEquatable<LangContext>Constructors
LangContext(string)
The Lang context of the application.
Declaration
public LangContext(string lang)Parameters
| Type | Name | Description | 
|---|---|---|
| string | lang | The language. | 
Properties
GetLocalizedStringAsyncFunc
The delegate to get a localized string.
Declaration
public LangContext.GetLocalizedStringAsyncDelegate GetLocalizedStringAsyncFunc { get; set; }Property Value
| Type | Description | 
|---|---|
| LangContext.GetLocalizedStringAsyncDelegate | 
lang
The current language.
Declaration
public string lang { get; }Property Value
| Type | Description | 
|---|---|
| string |