Ruyi SDK
Namespaces
Ruyi.SDK.LocalizationService
LocalizationService.Client Class
Client Methods
Dispose Method
GetCurrentLanguage Method
GetFileName Method
GetString Method
GetStrings Method
HintContext Method
SwitchContext Method
SwitchLanguage Method
Click or drag to resizeClick or drag to resize

LocalizationServiceClientGetFileName Method

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

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.

Namespace:  Ruyi.SDK.LocalizationService
Assembly:  ServiceGenerated (in ServiceGenerated.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax
C#
Copy
public string GetFileName(
	string filename,
	bool isVirtualPath,
	string context
)

Parameters

filename
Type: SystemString
File name with the path to the language pack root.
isVirtualPath
Type: SystemBoolean
True to get the virtual path, false to get the exact path to the file.
context
Type: SystemString
The context of the file. If null, then while use system context "com.ruyi"

Return Value

Type: String

[Missing <returns> documentation for "M:Ruyi.SDK.LocalizationService.LocalizationService.Client.GetFileName(System.String,System.Boolean,System.String)"]

See Also

Reference

LocalizationServiceClient Class
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