Méthode | Description | |
---|---|---|
ClearLanguageResources ( ) : void |
Clears the language resources.
|
|
GetString ( ILanguageSource languageSource, string resourceName, |
Gets the string from the specified resource file with the current culture.
|
|
GetString ( string resourceName ) : string |
Gets the string with the PreferredCulture. If the preferred language cannot be found, this method will use the FallbackCulture to retrieve the string.
|
|
GetString ( string resourceName, |
Gets the string with the specified culture.
|
|
LanguageService ( ) : System |
Initializes a new instance of the LanguageService class.
|
|
PreloadLanguageSources ( ) : void |
Preloads the language sources to provide optimal performance.
|
|
RegisterLanguageSource ( ILanguageSource languageSource ) : void |
Registers the language source.
|
Méthode | Description | |
---|---|---|
PreloadLanguageSource ( ILanguageSource languageSource ) : void |
Preloads the language sources to provide optimal performance.
|
Méthode | Description | |
---|---|---|
GetResourceContainer ( string source ) : string | ||
GetResourceManager ( string source ) : Windows.ApplicationModel.Resources.ResourceLoader |
Gets the resource manager.
|
|
GetStringInternal ( string resourceName, |
public GetString ( ILanguageSource languageSource, string resourceName, |
||
languageSource | ILanguageSource | The language source. |
resourceName | string | Name of the resource. |
cultureInfo | The culture information. | |
Résultat | string |
public GetString ( string resourceName ) : string | ||
resourceName | string | Name of the resource. |
Résultat | string |
public GetString ( string resourceName, |
||
resourceName | string | Name of the resource. |
cultureInfo | The culture information. | |
Résultat | string |
protected PreloadLanguageSource ( ILanguageSource languageSource ) : void | ||
languageSource | ILanguageSource | The language source. |
Résultat | void |
public RegisterLanguageSource ( ILanguageSource languageSource ) : void | ||
languageSource | ILanguageSource | The language source. |
Résultat | void |