Compartilhar via


ResourceManagerStringLocalizer Construtor

Definição

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)

Parâmetros

resourceManager
ResourceManager

O ResourceManager do qual ler as cadeias de caracteres.

resourceAssembly
Assembly

O Assembly que contém as cadeias de caracteres como recursos inseridos.

baseName
String

O namespace base do recurso inserido que contém as cadeias de caracteres.

resourceNamesCache
IResourceNamesCache

Cache da lista de cadeias de caracteres para um determinado nome de assembly de recurso.

logger
ILogger

O ILogger.

Aplica-se a