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
SystemObject
  Ruyi.SDK.LocalizationServiceLocalizationServiceClient

Namespace:  Ruyi.SDK.LocalizationService
Assembly:  ServiceGenerated (in ServiceGenerated.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax
C#
Copy
public class Client : 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 methodDispose
Releases all resources used by the LocalizationServiceClient
Public methodGetCurrentLanguage
Get currently active language
Public methodGetFileName
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 methodGetString
Get a localization string. Return: localization string.
Public methodGetStrings
Get a set of localization string.
Public methodHintContext
Get currently active context.
Public methodSwitchContext
Switch a context of the language.
Public methodSwitchLanguage
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