| LocalizationServiceClientGetFileNameAsync 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:
SDK.Gen.ServiceAsync (in SDK.Gen.ServiceAsync.dll) Version: 0.9.3.3995
Syntax public Task<string> GetFileNameAsync(
string filename,
bool isVirtualPath,
string context,
CancellationToken cancellationToken
)
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" - cancellationToken
- Type: System.ThreadingCancellationToken
[Missing <param name="cancellationToken"/> documentation for "M:Ruyi.SDK.LocalizationService.LocalizationService.Client.GetFileNameAsync(System.String,System.Boolean,System.String,System.Threading.CancellationToken)"]
Return Value
Type:
TaskString[Missing <returns> documentation for "M:Ruyi.SDK.LocalizationService.LocalizationService.Client.GetFileNameAsync(System.String,System.Boolean,System.String,System.Threading.CancellationToken)"]
See Also