Table of Contents

Class UserInterfaceLanguageSetting

Namespace
RDCore.SDK.Server
Assembly
RDCore.SDK.dll

What the setting of the language of the user interface comes to, and what a component says of it when it starts.

public sealed record UserInterfaceLanguageSetting : IEquatable<UserInterfaceLanguageSetting>
Inheritance
UserInterfaceLanguageSetting
Implements
Inherited Members

Constructors

UserInterfaceLanguageSetting(UserInterfaceLanguageOutcome, string?, CultureInfo, LogLevel, string?)

What the setting of the language of the user interface comes to, and what a component says of it when it starts.

public UserInterfaceLanguageSetting(UserInterfaceLanguageOutcome Outcome, string? Setting, CultureInfo Culture, LogLevel Level, string? Message)

Parameters

Outcome UserInterfaceLanguageOutcome

What the setting comes to.

Setting string

The culture name the setting says, trimmed; null when it is empty.

Culture CultureInfo

The language of the user interface it gives: the culture it names, or the machine's language when it names none the platform knows.

Level LogLevel

The level Message is logged at: Warning for a name that is no culture, otherwise Information; None when there is nothing to say.

Message string

What a component logs once when it starts: in the language the setting names when the platform is translated in it, and otherwise in the language the user interface was in before; null when the setting is empty.

Properties

Culture

The language of the user interface it gives: the culture it names, or the machine's language when it names none the platform knows.

public CultureInfo Culture { get; init; }

Property Value

CultureInfo

Level

The level Message is logged at: Warning for a name that is no culture, otherwise Information; None when there is nothing to say.

public LogLevel Level { get; init; }

Property Value

LogLevel

Message

What a component logs once when it starts: in the language the setting names when the platform is translated in it, and otherwise in the language the user interface was in before; null when the setting is empty.

public string? Message { get; init; }

Property Value

string

Outcome

What the setting comes to.

public UserInterfaceLanguageOutcome Outcome { get; init; }

Property Value

UserInterfaceLanguageOutcome

Overrides

Whether the setting decides the language of the user interface: over the machine's, and over the locale a client says.

public bool Overrides { get; }

Property Value

bool

Setting

The culture name the setting says, trimmed; null when it is empty.

public string? Setting { get; init; }

Property Value

string