LocalizationServiceClient Class |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:Ruyi.SDK.LocalizationService.LocalizationService.Client"]
Namespace: Ruyi.SDK.LocalizationService
public class Client : TBaseClient, IDisposable
The LocalizationServiceClient type exposes the following members.
Name | Description | |
---|---|---|
LocalizationServiceClient(TProtocol) | Initializes a new instance of the LocalizationServiceClient class | |
LocalizationServiceClient(TProtocol, TProtocol) | Initializes a new instance of the LocalizationServiceClient class |
Name | Description | |
---|---|---|
GetCurrentLanguageAsync | ||
GetFileNameAsync | Get the file name/path in the language.
The search will go through the context and its sub context to find the file name. Eg. If file name is not found in context com.ruyi, then the search will go on to find it in com.ruyi.moduleA and com.ruyi.moduleB. | |
GetStringAsync | Get a localization string.
Return: localization string. | |
GetStringsAsync | Get a set of localization string. | |
HintContextAsync | ||
SwitchContextAsync | Switch a context of the language. | |
SwitchLanguageAsync | Switch language to specified one. |