ResourceManagerStringLocalizerFactory.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(Type) |
Creates a ResourceManagerStringLocalizer using the Assembly and FullName of the specified Type. |
Create(String, String) |
Creates a ResourceManagerStringLocalizer. |
Create(Type)
Creates a ResourceManagerStringLocalizer using the Assembly and FullName of the specified Type.
public:
virtual Microsoft::Extensions::Localization::IStringLocalizer ^ Create(Type ^ resourceSource);
public Microsoft.Extensions.Localization.IStringLocalizer Create (Type resourceSource);
abstract member Create : Type -> Microsoft.Extensions.Localization.IStringLocalizer
override this.Create : Type -> Microsoft.Extensions.Localization.IStringLocalizer
Public Function Create (resourceSource As Type) As IStringLocalizer
Parameters
Returns
The ResourceManagerStringLocalizer.
Implements
Applies to
Create(String, String)
Creates a ResourceManagerStringLocalizer.
public:
virtual 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
override this.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 ResourceManagerStringLocalizer.
Implements
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應