Udostępnij za pośrednictwem


ResourceManagerStringLocalizerFactory.CreateResourceManagerStringLocalizer Metoda

Definicja

Tworzy element ResourceManagerStringLocalizer dla danego danych wejściowych.

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

Parametry

assembly
Assembly

Zestaw do utworzenia elementu ResourceManagerStringLocalizer for.

baseName
String

Nazwa podstawowa zasobu do wyszukania.

Zwraca

A ResourceManagerStringLocalizer dla danego assembly i baseName.

Uwagi

Ta metoda jest wirtualna tylko do celów testowych.

Dotyczy