Partager via


ResourceManagerStringLocalizer Constructeur

Définition

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)

Paramètres

resourceManager
ResourceManager

ResourceManager à partir duquel lire les chaînes.

resourceAssembly
Assembly

Assembly qui contient les chaînes en tant que ressources incorporées.

baseName
String

Nom de base de la ressource incorporée qui contient les chaînes.

resourceNamesCache
IResourceNamesCache

Cache de la liste de chaînes pour un nom d’assembly de ressource donné.

logger
ILogger

L’ILoggeropérateur

S’applique à