Share via


ResourceManagerStringLocalizerFactory.CreateResourceManagerStringLocalizer Method

Definition

Creates a ResourceManagerStringLocalizer for the given input.

protected:
 virtual Microsoft::Extensions::Localization::ResourceManagerStringLocalizer ^ CreateResourceManagerStringLocalizer(System::Reflection::Assembly ^ assembly, System::String ^ baseName);
protected virtual Microsoft.Extensions.Localization.ResourceManagerStringLocalizer CreateResourceManagerStringLocalizer (System.Reflection.Assembly assembly, string baseName);
abstract member CreateResourceManagerStringLocalizer : System.Reflection.Assembly * string -> Microsoft.Extensions.Localization.ResourceManagerStringLocalizer
override this.CreateResourceManagerStringLocalizer : System.Reflection.Assembly * string -> Microsoft.Extensions.Localization.ResourceManagerStringLocalizer
Protected Overridable Function CreateResourceManagerStringLocalizer (assembly As Assembly, baseName As String) As ResourceManagerStringLocalizer

Parameters

assembly
Assembly

The assembly to create a ResourceManagerStringLocalizer for.

baseName
String

The base name of the resource to search for.

Returns

A ResourceManagerStringLocalizer for the given assembly and baseName.

Remarks

This method is virtual for testing purposes only.

Applies to