Compartir vía


ResourceManagerStringLocalizer Constructor

Definición

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

El objeto ResourceManager del que se van a leer las cadenas.

resourceAssembly
Assembly

El objeto Assembly que contiene las cadenas como recursos incrustados.

baseName
String

El nombre base del recurso incrustado que contiene las cadenas.

resourceNamesCache
IResourceNamesCache

Caché de la lista de cadenas para un nombre de ensamblado de recursos determinado.

logger
ILogger

ILogger.

Se aplica a