Table of Contents

Class ConfigParams

Namespace
VpnHood.AppLib.Api.App
Assembly
VpnHood.AppLib.Api.dll

Represents what the UI gives the app (Configure(ConfigParams, CancellationToken)).

public class ConfigParams
Inheritance
ConfigParams
Inherited Members

Properties

AvailableCultures

Gets the languages the UI offers, by their culture names. The default is none.

public IReadOnlyList<string> AvailableCultures { get; init; }

Property Value

IReadOnlyList<string>

Strings

Gets the UI's own words for the app's own text, keyed as the locale files key them (CONNECT), in the language the UI shows, or null; a key left out takes the app's built-in word.

public IReadOnlyDictionary<string, string>? Strings { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Remarks

null, or no words at all, keeps the words given before.