Ruyi SDK
Namespaces
Ruyi.SDK.LocalizationService
LocalizationService.Client Class
Client Methods
GetCurrentLanguageAsync Method
GetFileNameAsync Method
GetStringAsync Method
GetStringsAsync Method
HintContextAsync Method
SwitchContextAsync Method
SwitchLanguageAsync Method
Click or drag to resizeClick or drag to resize

LocalizationServiceClientSwitchContextAsync Method

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

Switch a context of the language.

Namespace:  Ruyi.SDK.LocalizationService
Assembly:  SDK.Gen.ServiceAsync (in SDK.Gen.ServiceAsync.dll) Version: 0.9.3.3995
Syntax
C#
Copy
public Task<bool> SwitchContextAsync(
	string context,
	string language,
	CancellationToken cancellationToken
)

Parameters

context
Type: SystemString
Which context to switch to.
language
Type: SystemString
Which language that the context belong to
cancellationToken
Type: System.ThreadingCancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:Ruyi.SDK.LocalizationService.LocalizationService.Client.SwitchContextAsync(System.String,System.String,System.Threading.CancellationToken)"]

Return Value

Type: TaskBoolean

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

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