Share via


IHtmlLocalizerFactory.Create Method

Definition

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

resourceSource
Type

The Type.

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.

Applies to