IStringLocalizerFactory.Create Methode

Definitie

Overloads

Name Description
Create(Type)

Hiermee maakt u een IStringLocalizer met behulp van de Assembly en FullName van de opgegeven Type.

Create(String, String)

Hiermee maakt u een IStringLocalizer.

Create(Type)

Bron:
IStringLocalizerFactory.cs
Bron:
IStringLocalizerFactory.cs
Bron:
IStringLocalizerFactory.cs
Bron:
IStringLocalizerFactory.cs
Bron:
IStringLocalizerFactory.cs

Hiermee maakt u een IStringLocalizer met behulp van de Assembly en FullName van de opgegeven Type.

public:
 Microsoft::Extensions::Localization::IStringLocalizer ^ Create(Type ^ resourceSource);
public Microsoft.Extensions.Localization.IStringLocalizer Create(Type resourceSource);
abstract member Create : Type -> Microsoft.Extensions.Localization.IStringLocalizer
Public Function Create (resourceSource As Type) As IStringLocalizer

Parameters

resourceSource
Type

De Type.

Retouren

De IStringLocalizer.

Van toepassing op

Create(String, String)

Bron:
IStringLocalizerFactory.cs
Bron:
IStringLocalizerFactory.cs
Bron:
IStringLocalizerFactory.cs
Bron:
IStringLocalizerFactory.cs
Bron:
IStringLocalizerFactory.cs

Hiermee maakt u een IStringLocalizer.

public:
 Microsoft::Extensions::Localization::IStringLocalizer ^ Create(System::String ^ baseName, System::String ^ location);
public Microsoft.Extensions.Localization.IStringLocalizer Create(string baseName, string location);
abstract member Create : string * string -> Microsoft.Extensions.Localization.IStringLocalizer
Public Function Create (baseName As String, location As String) As IStringLocalizer

Parameters

baseName
String

De basisnaam van de resource waaruit tekenreeksen moeten worden geladen.

location
String

De locatie van waaruit resources moeten worden geladen.

Retouren

De IStringLocalizer.

Van toepassing op