Ruyi SDK
Namespaces
Ruyi.SDK.LocalizationService
LocalizationService.Client Class
Client Constructor
Client Methods
Click or drag to resizeClick or drag to resize

LocalizationServiceClient Class

[This is preliminary documentation and is subject to change.]

[Missing <summary> documentation for "T:Ruyi.SDK.LocalizationService.LocalizationService.Client"]

Inheritance Hierarchy
TBaseClient
  Ruyi.SDK.LocalizationServiceLocalizationServiceClient

Namespace:  Ruyi.SDK.LocalizationService
Assembly:  SDK.Gen.ServiceAsync (in SDK.Gen.ServiceAsync.dll) Version: 0.9.3.3995
Syntax
C#
Copy
public class Client : TBaseClient, IDisposable

The LocalizationServiceClient type exposes the following members.

Constructors
  NameDescription
Public methodLocalizationServiceClient(TProtocol)
Initializes a new instance of the LocalizationServiceClient class
Public methodLocalizationServiceClient(TProtocol, TProtocol)
Initializes a new instance of the LocalizationServiceClient class
Top
Methods
  NameDescription
Public methodGetCurrentLanguageAsync
Public methodGetFileNameAsync
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.
Public methodGetStringAsync
Get a localization string. Return: localization string.
Public methodGetStringsAsync
Get a set of localization string.
Public methodHintContextAsync
Public methodSwitchContextAsync
Switch a context of the language.
Public methodSwitchLanguageAsync
Switch language to specified one.
Top
See Also

Reference

Ruyi.SDK.LocalizationService Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com