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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應