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
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
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