Table of Contents

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

Code string

The culture code stored in AppSettings.Language (es, en, pt, fr, de).

Name string

The 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

string

Name

The language's name in itself, never translated — that is how a selector is read.

public string Name { get; init; }

Property Value

string