Class AbpStringLocalizerExtensions
Inheritance
AbpStringLocalizerExtensions
Assembly: Volo.Abp.Localization.dll
Syntax
public static class AbpStringLocalizerExtensions
Methods
GetAllStrings(IStringLocalizer, bool, bool, bool)
Declaration
public static IEnumerable<LocalizedString> GetAllStrings(this IStringLocalizer stringLocalizer, bool includeParentCultures, bool includeBaseLocalizers, bool includeDynamicContributors)
Parameters
Type |
Name |
Description |
IStringLocalizer |
stringLocalizer |
|
bool |
includeParentCultures |
|
bool |
includeBaseLocalizers |
|
bool |
includeDynamicContributors |
|
Returns
GetAllStringsAsync(IStringLocalizer)
Declaration
public static Task<IEnumerable<LocalizedString>> GetAllStringsAsync(this IStringLocalizer localizer)
Parameters
Returns
GetAllStringsAsync(IStringLocalizer, bool)
Declaration
public static Task<IEnumerable<LocalizedString>> GetAllStringsAsync(this IStringLocalizer localizer, bool includeParentCultures)
Parameters
Returns
GetAllStringsAsync(IStringLocalizer, bool, bool, bool)
Declaration
public static Task<IEnumerable<LocalizedString>> GetAllStringsAsync(this IStringLocalizer stringLocalizer, bool includeParentCultures, bool includeBaseLocalizers, bool includeDynamicContributors)
Parameters
Type |
Name |
Description |
IStringLocalizer |
stringLocalizer |
|
bool |
includeParentCultures |
|
bool |
includeBaseLocalizers |
|
bool |
includeDynamicContributors |
|
Returns
GetInternalLocalizer(IStringLocalizer)
Declaration
public static IStringLocalizer GetInternalLocalizer(this IStringLocalizer stringLocalizer)
Parameters
Returns
GetSupportedCulturesAsync(IStringLocalizer)
Declaration
public static Task<IEnumerable<string>> GetSupportedCulturesAsync(this IStringLocalizer localizer)
Parameters
Returns