ResourceManagerStringLocalizerFactory 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新的 ResourceManagerStringLocalizer。
public:
ResourceManagerStringLocalizerFactory(Microsoft::Extensions::Options::IOptions<Microsoft::Extensions::Localization::LocalizationOptions ^> ^ localizationOptions, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public ResourceManagerStringLocalizerFactory (Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Localization.LocalizationOptions> localizationOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Localization.LocalizationOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory
Public Sub New (localizationOptions As IOptions(Of LocalizationOptions), loggerFactory As ILoggerFactory)
参数
- localizationOptions
- IOptions<LocalizationOptions>
- loggerFactory
- ILoggerFactory