HtmlLocalizerFactory.Create Methode

Definition

Überlädt

Create(Type)

Erstellt mithilfe HtmlLocalizer des angegebenen Type.

Create(String, String)

Erstellt einen HtmlLocalizer unter Verwendung des angegebenen Basisnamens und Speicherorts.

Create(Type)

Quelle:
HtmlLocalizerFactory.cs
Quelle:
HtmlLocalizerFactory.cs
Quelle:
HtmlLocalizerFactory.cs

Erstellt mithilfe HtmlLocalizer des angegebenen 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

Parameter

resourceSource
Type

Die Type , für die Ressourcen geladen werden sollen.

Gibt zurück

Die HtmlLocalizer.

Implementiert

Gilt für:

Create(String, String)

Quelle:
HtmlLocalizerFactory.cs
Quelle:
HtmlLocalizerFactory.cs
Quelle:
HtmlLocalizerFactory.cs

Erstellt einen HtmlLocalizer unter Verwendung des angegebenen Basisnamens und Speicherorts.

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

Parameter

baseName
String

Der Basisname der Ressource, aus der Zeichenfolgen geladen werden sollen.

location
String

Der Speicherort, aus dem Ressourcen geladen werden sollen.

Gibt zurück

Die HtmlLocalizer.

Implementiert

Gilt für: