Share via


IStringLocalizerFactory.Create Method

Definition

Overloads

Create(Type)

Creates an IStringLocalizer using the Assembly and FullName of the specified Type.

Create(String, String)

Creates an IStringLocalizer.

Create(Type)

Source:
IStringLocalizerFactory.cs
Source:
IStringLocalizerFactory.cs
Source:
IStringLocalizerFactory.cs
Source:
IStringLocalizerFactory.cs

Creates an IStringLocalizer using the Assembly and FullName of the specified 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

The Type.

Returns

The IStringLocalizer.

Applies to

Create(String, String)

Source:
IStringLocalizerFactory.cs
Source:
IStringLocalizerFactory.cs
Source:
IStringLocalizerFactory.cs
Source:
IStringLocalizerFactory.cs

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

The base name of the resource to load strings from.

___location
String

The ___location to load resources from.

Returns

The IStringLocalizer.

Applies to