HtmlLocalizerFactory.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Create(Type) |
HtmlLocalizer使用指定的 Type创建 。 |
Create(String, String) |
HtmlLocalizer使用指定的基名称和位置创建 。 |
Create(Type)
- Source:
- HtmlLocalizerFactory.cs
- Source:
- HtmlLocalizerFactory.cs
- Source:
- HtmlLocalizerFactory.cs
HtmlLocalizer使用指定的 Type创建 。
public:
virtual Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ Create(Type ^ resourceSource);
public virtual Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer Create (Type resourceSource);
abstract member Create : Type -> Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer
override this.Create : Type -> Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer
Public Overridable Function Create (resourceSource As Type) As IHtmlLocalizer
参数
返回
实现
适用于
Create(String, String)
- Source:
- HtmlLocalizerFactory.cs
- Source:
- HtmlLocalizerFactory.cs
- Source:
- HtmlLocalizerFactory.cs
HtmlLocalizer使用指定的基名称和位置创建 。
public:
virtual Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ Create(System::String ^ baseName, System::String ^ location);
public virtual Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer Create (string baseName, string location);
abstract member Create : string * string -> Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer
override this.Create : string * string -> Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer
Public Overridable Function Create (baseName As String, location As String) As IHtmlLocalizer
参数
- baseName
- String
要从中加载字符串的资源的基名称。
- location
- String
要从中加载资源的位置。