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。
備註
此方法僅供測試之用。