Condividi tramite


ResourceManagerStringLocalizer Costruttore

Definizione

Crea un nuovo oggetto 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)

Parametri

resourceManager
ResourceManager

Oggetto ResourceManager da cui leggere le stringhe.

resourceAssembly
Assembly

Oggetto Assembly che contiene le stringhe come risorse incorporate.

baseName
String

Nome di base della risorsa incorporata contenente le stringhe.

resourceNamesCache
IResourceNamesCache

Cache dell'elenco di stringhe per un nome di assembly di risorse specificato.

logger
ILogger

Oggetto ILogger.

Si applica a