StringLocalizer<TResourceSource>(IStringLocalizerFactory) 构造函数

定义

创建一个新的 StringLocalizer<TResourceSource>

public:
 StringLocalizer(Microsoft::Extensions::Localization::IStringLocalizerFactory ^ factory);
public StringLocalizer (Microsoft.Extensions.Localization.IStringLocalizerFactory factory);
new Microsoft.Extensions.Localization.StringLocalizer<'ResourceSource> : Microsoft.Extensions.Localization.IStringLocalizerFactory -> Microsoft.Extensions.Localization.StringLocalizer<'ResourceSource>
Public Sub New (factory As IStringLocalizerFactory)

参数

适用于