StringLocalizer<TResourceSource>(IStringLocalizerFactory) Constructor
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.
Creates a new 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)
Parameters
- factory
- IStringLocalizerFactory
The IStringLocalizerFactory to use.