IHtmlLocalizerFactory.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(Type) |
Creates an IHtmlLocalizer using the Assembly and FullName of the specified Type. |
Create(String, String) |
Creates an IHtmlLocalizer. |
Create(Type)
- Source:
- IHtmlLocalizerFactory.cs
Creates an IHtmlLocalizer using the Assembly and FullName of the specified Type.
public:
Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ Create(Type ^ resourceSource);
public Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer Create (Type resourceSource);
abstract member Create : Type -> Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer
Public Function Create (resourceSource As Type) As IHtmlLocalizer
Parameters
Returns
The IHtmlLocalizer.
Applies to
Create(String, String)
- Source:
- IHtmlLocalizerFactory.cs
Creates an IHtmlLocalizer.
public:
Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ Create(System::String ^ baseName, System::String ^ location);
public Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer Create (string baseName, string location);
abstract member Create : string * string -> Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer
Public Function Create (baseName As String, location As String) As IHtmlLocalizer
Parameters
- baseName
- String
The base name of the resource to load strings from.
- location
- String
The location to load resources from.
Returns
The IHtmlLocalizer.