RequestLocalizationMiddleware Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>)
Attention
This constructor is obsolete and will be removed in a future version. Use RequestLocalizationMiddleware(RequestDelegate next, IOptions<RequestLocalizationOptions> options, ILoggerFactory loggerFactory) instead
Crée un RequestLocalizationMiddleware.
public:
RequestLocalizationMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::RequestLocalizationOptions ^> ^ options);
public RequestLocalizationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> options);
[System.Obsolete("This constructor is obsolete and will be removed in a future version. Use RequestLocalizationMiddleware(RequestDelegate next, IOptions<RequestLocalizationOptions> options, ILoggerFactory loggerFactory) instead")]
public RequestLocalizationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> options);
new Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> -> Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware
[<System.Obsolete("This constructor is obsolete and will be removed in a future version. Use RequestLocalizationMiddleware(RequestDelegate next, IOptions<RequestLocalizationOptions> options, ILoggerFactory loggerFactory) instead")>]
new Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> -> Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of RequestLocalizationOptions))
Paramètres
- next
- RequestDelegate
RequestDelegate représentant l’intergiciel suivant dans le pipeline.
- options
- IOptions<RequestLocalizationOptions>
RequestLocalizationOptions représentant les options pour .RequestLocalizationMiddleware
- Attributs
S’applique à
RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>, ILoggerFactory)
Crée un RequestLocalizationMiddleware.
public:
RequestLocalizationMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::RequestLocalizationOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
[Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructor]
public RequestLocalizationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
public RequestLocalizationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
[<Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructor>]
new Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware
new Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of RequestLocalizationOptions), loggerFactory As ILoggerFactory)
Paramètres
- next
- RequestDelegate
RequestDelegate représentant l’intergiciel suivant dans le pipeline.
- options
- IOptions<RequestLocalizationOptions>
RequestLocalizationOptions représentant les options du utilisé ILoggerFactory pour la journalisation.RequestLocalizationMiddleware
- loggerFactory
- ILoggerFactory
- Attributs