Udostępnij za pośrednictwem


ResourceManagerStringLocalizer Konstruktor

Definicja

Tworzy nowy adres ResourceManagerStringLocalizer.

public:
 ResourceManagerStringLocalizer(System::Resources::ResourceManager ^ resourceManager, System::Reflection::Assembly ^ resourceAssembly, System::String ^ baseName, Microsoft::Extensions::Localization::IResourceNamesCache ^ resourceNamesCache, Microsoft::Extensions::Logging::ILogger ^ logger);
public ResourceManagerStringLocalizer (System.Resources.ResourceManager resourceManager, System.Reflection.Assembly resourceAssembly, string baseName, Microsoft.Extensions.Localization.IResourceNamesCache resourceNamesCache, Microsoft.Extensions.Logging.ILogger logger);
new Microsoft.Extensions.Localization.ResourceManagerStringLocalizer : System.Resources.ResourceManager * System.Reflection.Assembly * string * Microsoft.Extensions.Localization.IResourceNamesCache * Microsoft.Extensions.Logging.ILogger -> Microsoft.Extensions.Localization.ResourceManagerStringLocalizer
Public Sub New (resourceManager As ResourceManager, resourceAssembly As Assembly, baseName As String, resourceNamesCache As IResourceNamesCache, logger As ILogger)

Parametry

resourceManager
ResourceManager

Ciągi ResourceManager do odczytu z.

resourceAssembly
Assembly

Element Assembly zawierający ciągi jako zasoby osadzone.

baseName
String

Podstawowa nazwa osadzonego zasobu zawierającego ciągi.

resourceNamesCache
IResourceNamesCache

Pamięć podręczna listy ciągów dla danej nazwy zestawu zasobów.

logger
ILogger

Element ILogger.

Dotyczy