StringLocalizer<TResourceSource>
StringLocalizer(IStringLocalizerFactory)
this[String, Object[]]
this[String]
GetAllStrings(Boolean)
WithCulture(CultureInfo)
net9.0
namespace Microsoft.Extensions.Localization
{
[DefaultMember("Item")]
public class StringLocalizer<TResourceSource> : IStringLocalizer, IStringLocalizer<TResourceSource>
{
[Obsolete("This method is obsolete. Use `CurrentCulture` and `CurrentUICulture` instead.")]
public virtual IStringLocalizer WithCulture(CultureInfo culture);
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 2.02.12.23.03.1 |
Information specific to net9.0 | |
| Assembly | Microsoft.Extensions.Localization.Abstractions , Version=3.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.App (3.0.0-preview3-19153-02) netcoreapp3.0 |
| Obsolete | This method is obsolete. Use `CurrentCulture` and `CurrentUICulture` instead. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API