แชร์ผ่าน


Microsoft.Extensions.Localization Namespace

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.

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 TResourceSource.

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 T.

IStringLocalizerFactory

Represents a factory that creates IStringLocalizer instances.