ResourceManagerStringLocalizerFactory.CreateResourceManagerStringLocalizer 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为给定输入创建 ResourceManagerStringLocalizer。
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
参数
- assembly
- Assembly
要为其创建 ResourceManagerStringLocalizer 的程序集。
- baseName
- String
要搜索的资源的基名称。
返回
给定 assembly
和 baseName
的 ResourceManagerStringLocalizer。
注解
此方法是虚拟的,仅用于测试目的。