C# Class Catel.Services.LanguageServiceBase

Abstract class to allow partial abstract methods.
ファイルを表示 Open project: Catel/Catel

Public Methods

Method Description
GetString ( ILanguageSource languageSource, string resourceName, CultureInfo cultureInfo ) : string

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

Protected Methods

Method Description
PreloadLanguageSource ( ILanguageSource languageSource ) : void

Preloads the language sources to provide optimal performance.

Method Details

GetString() public abstract method

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.
return string

PreloadLanguageSource() protected abstract method

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