Class MainViewModel.LanguageOption
- Namespace
- McServerLauncher.ViewModels
- Assembly
- McServerLauncher.dll
One entry of the language selector.
public record MainViewModel.LanguageOption : IEquatable<MainViewModel.LanguageOption>
- Inheritance
-
MainViewModel.LanguageOption
- Implements
- Inherited Members
Constructors
LanguageOption(string, string)
One entry of the language selector.
public LanguageOption(string Code, string Name)
Parameters
CodestringThe culture code stored in
AppSettings.Language(es, en, pt, fr, de).NamestringThe language's name in itself, never translated — that is how a selector is read.
Properties
Code
The culture code stored in AppSettings.Language (es, en, pt, fr,
de).
public string Code { get; init; }
Property Value
Name
The language's name in itself, never translated — that is how a selector is read.
public string Name { get; init; }