C# Class Catel.Services.LanguageServiceBase

Abstract class to allow partial abstract methods.
Afficher le fichier Open project: Catel/Catel

Méthodes publiques

Méthode Description
GetString ( ILanguageSource languageSource, string resourceName, CultureInfo cultureInfo ) : string

Gets the string from the specified resource file with the current culture.

Méthodes protégées

Méthode Description
PreloadLanguageSource ( ILanguageSource languageSource ) : void

Preloads the language sources to provide optimal performance.

Method Details

GetString() public abstract méthode

Gets the string from the specified resource file with the current culture.
The is null. The is null. The is null.
public abstract GetString ( ILanguageSource languageSource, string resourceName, CultureInfo cultureInfo ) : string
languageSource ILanguageSource The language source.
resourceName string Name of the resource.
cultureInfo System.Globalization.CultureInfo The culture information.
Résultat string

PreloadLanguageSource() protected abstract méthode

Preloads the language sources to provide optimal performance.
protected abstract PreloadLanguageSource ( ILanguageSource languageSource ) : void
languageSource ILanguageSource The language source.
Résultat void