ResourceManagerStringLocalizer Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new 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)
Parameters
- resourceManager
- ResourceManager
The ResourceManager to read strings from.
- 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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.