Share via


HtmlLocalizerFactory.Create Method

Definition

Overloads

Create(Type)

Creates an HtmlLocalizer using the specified Type.

Create(String, String)

Creates an HtmlLocalizer using the specified base name and location.

Create(Type)

Source:
HtmlLocalizerFactory.cs
Source:
HtmlLocalizerFactory.cs

Creates an HtmlLocalizer using the specified 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

Parameters

resourceSource
Type

The Type to load resources for.

Returns

The HtmlLocalizer.

Implements

Applies to

Create(String, String)

Source:
HtmlLocalizerFactory.cs
Source:
HtmlLocalizerFactory.cs

Creates an HtmlLocalizer using the specified base name and location.

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

Parameters

baseName
String

The base name of the resource to load strings from.

location
String

The location to load resources from.

Returns

The HtmlLocalizer.

Implements

Applies to