SessionsManagerSelectLanguage(LanguageInfo, String) Method

Selects a language from the array of languages by the specified value of Abbr and then completes loading of the language data from related file if that is required.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.2.9018.0
C#
public LanguageInfo SelectLanguage(
	LanguageInfo[] languages,
	string abbr
)

Parameters

languages  LanguageInfo
Array to select the language from.
abbr  String
Value of Abbr to select the language by.

Return Value

LanguageInfo
The selected language which is ready for use.

Remarks

Throws InvalidOperationException if languages is empty.

Exceptions

See Also