Interface IStringProvider
- Namespace
- VpnHood.AppLib.Abstractions
- Assembly
- VpnHood.AppLib.Abstractions.dll
Represents the translated words for the text the app draws for itself, which a head that has them gives the app.
public interface IStringProvider
Remarks
The app library names no source of its own, so without one it speaks the English of its resources. It is asked per word, so a language chosen while the app runs is answered.
Methods
GetString(CultureInfo, string)
Gets a word in a language.
string? GetString(CultureInfo culture, string key)
Parameters
cultureCultureInfoThe language.
keystringThe word's key, as the locale files have it, as
CONNECT.