Jaa


ResourceManagerStringLocalizer Constructor

Definition

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)

Parameters

resourceManager
ResourceManager

The ResourceManager to read strings from.

resourceAssembly
Assembly

The Assembly that contains the strings as embedded resources.

baseName
String

The base name of the embedded resource that contains the strings.

resourceNamesCache
IResourceNamesCache

Cache of the list of strings for a given resource assembly name.

logger
ILogger

The ILogger.

Applies to