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. |
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour