C# Class DbLocalizationProvider.LocalizationProvider

Afficher le fichier Open project: valdisiljuconoks/LocalizationProvider Class Usage Examples

Méthodes publiques

Méthode Description
GetString ( string resourceKey ) : string
GetString ( string resourceKey, CultureInfo culture ) : string
GetStringByCulture ( Expression resource, CultureInfo culture ) : string
GetStringByCulture ( string resourceKey, CultureInfo culture ) : string

Private Methods

Méthode Description
Format ( string message ) : string
FormatWithAnonymousObject ( string message, object model ) : string
LocalizationProvider ( ) : System

Method Details

GetString() public méthode

public GetString ( string resourceKey ) : string
resourceKey string
Résultat string

GetString() public méthode

public GetString ( string resourceKey, CultureInfo culture ) : string
resourceKey string
culture System.Globalization.CultureInfo
Résultat string

GetStringByCulture() public méthode

public GetStringByCulture ( Expression resource, CultureInfo culture ) : string
resource Expression
culture System.Globalization.CultureInfo
Résultat string

GetStringByCulture() public méthode

public GetStringByCulture ( string resourceKey, CultureInfo culture ) : string
resourceKey string
culture System.Globalization.CultureInfo
Résultat string