Microsoft.Extensions.Localization Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
LocalizationOptions |
Provides programmatic configuration for localization. |
LocalizedString |
A locale specific string. |
ResourceLocationAttribute |
Provides the location of resources for an Assembly. |
ResourceManagerStringLocalizer |
An IStringLocalizer that uses the ResourceManager and ResourceReader to provide localized strings. |
ResourceManagerStringLocalizerFactory |
An IStringLocalizerFactory that creates instances of ResourceManagerStringLocalizer. |
ResourceManagerWithCultureStringLocalizer |
An IStringLocalizer that uses the ResourceManager and ResourceReader to provide localized strings for a specific CultureInfo. |
ResourceNamesCache |
An implementation of IResourceNamesCache backed by a ConcurrentDictionary<TKey,TValue>. |
RootNamespaceAttribute |
Provides the RootNamespace of an Assembly. The RootNamespace of the assembly is used by Localization to determine the resource name to look for when RootNamespace differs from the AssemblyName. |
StringLocalizer<TResourceSource> |
Provides strings for |
StringLocalizerExtensions |
Extension methods for operating on IStringLocalizer instances. |
Interfaces
IResourceNamesCache |
Represents a cache of string names in resources. |
IStringLocalizer |
Represents a service that provides localized strings. |
IStringLocalizer<T> |
Represents an IStringLocalizer that provides strings for |
IStringLocalizerFactory |
Represents a factory that creates IStringLocalizer instances. |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈