Partilhar via


ResourceManagerStringLocalizerFactory.CreateResourceManagerStringLocalizer Método

Definição

Cria um ResourceManagerStringLocalizer para a entrada determinada.

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

Parâmetros

assembly
Assembly

O assembly para o qual criar um ResourceManagerStringLocalizer.

baseName
String

O nome base do recurso pelo qual pesquisar.

Retornos

Um ResourceManagerStringLocalizer para o assembly e o baseName determinados.

Comentários

Esse método é virtual apenas para fins de teste.

Aplica-se a