ResourceManagerStringLocalizerFactory Costruttori

Definizione

Overload

ResourceManagerStringLocalizerFactory(IHostingEnvironment, IOptions<LocalizationOptions>)

Crea un nuovo oggetto ResourceManagerStringLocalizer.

ResourceManagerStringLocalizerFactory(IOptions<LocalizationOptions>, ILoggerFactory)

Crea un nuovo oggetto ResourceManagerStringLocalizer.

ResourceManagerStringLocalizerFactory(IHostingEnvironment, IOptions<LocalizationOptions>)

Crea un nuovo oggetto ResourceManagerStringLocalizer.

public:
 ResourceManagerStringLocalizerFactory(Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ hostingEnvironment, Microsoft::Extensions::Options::IOptions<Microsoft::Extensions::Localization::LocalizationOptions ^> ^ localizationOptions);
public ResourceManagerStringLocalizerFactory (Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment, Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Localization.LocalizationOptions> localizationOptions);
new Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory : Microsoft.AspNetCore.Hosting.IHostingEnvironment * Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Localization.LocalizationOptions> -> Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory
Public Sub New (hostingEnvironment As IHostingEnvironment, localizationOptions As IOptions(Of LocalizationOptions))

Parametri

hostingEnvironment
IHostingEnvironment

Oggetto IHostingEnvironment.

localizationOptions
IOptions<LocalizationOptions>

Oggetto IOptions<TOptions>.

Si applica a

ResourceManagerStringLocalizerFactory(IOptions<LocalizationOptions>, ILoggerFactory)

Crea un nuovo oggetto 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)

Parametri

localizationOptions
IOptions<LocalizationOptions>

Oggetto IOptions<TOptions>.

loggerFactory
ILoggerFactory

Oggetto ILoggerFactory.

Si applica a