C# Class Localization.SqlLocalizer.DbStringLocalizer.SqlStringLocalizer

Inheritance: IStringLocalizer
Afficher le fichier Open project: damienbod/AspNet5Localization Class Usage Examples

Méthodes publiques

Méthode Description
GetAllStrings ( bool includeParentCultures ) : IEnumerable
SqlStringLocalizer ( string>.Dictionary localizations, string resourceKey, bool returnKeyOnlyIfNotFound ) : System
WithCulture ( CultureInfo culture ) : IStringLocalizer
this ( string name ) : LocalizedString

Private Methods

Méthode Description
GetText ( string key ) : string

Method Details

GetAllStrings() public méthode

public GetAllStrings ( bool includeParentCultures ) : IEnumerable
includeParentCultures bool
Résultat IEnumerable

SqlStringLocalizer() public méthode

public SqlStringLocalizer ( string>.Dictionary localizations, string resourceKey, bool returnKeyOnlyIfNotFound ) : System
localizations string>.Dictionary
resourceKey string
returnKeyOnlyIfNotFound bool
Résultat System

WithCulture() public méthode

public WithCulture ( CultureInfo culture ) : IStringLocalizer
culture System.Globalization.CultureInfo
Résultat IStringLocalizer

this() public méthode

public this ( string name ) : LocalizedString
name string
Résultat Microsoft.Extensions.Localization.LocalizedString