Freigeben über


RequestLocalizationMiddleware Konstruktoren

Definition

Überlädt

RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>)
Veraltet.

Erstellt einen neuen RequestLocalizationMiddleware.

RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>, ILoggerFactory)

Erstellt einen neuen RequestLocalizationMiddleware.

RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>)

Quelle:
RequestLocalizationMiddleware.cs
Quelle:
RequestLocalizationMiddleware.cs

Achtung

This constructor is obsolete and will be removed in a future version. Use RequestLocalizationMiddleware(RequestDelegate next, IOptions<RequestLocalizationOptions> options, ILoggerFactory loggerFactory) instead

Erstellt einen neuen 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))

Parameter

next
RequestDelegate

Die RequestDelegate , die die nächste Middleware in der Pipeline darstellt.

Attribute

Gilt für:

RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>, ILoggerFactory)

Quelle:
RequestLocalizationMiddleware.cs

Erstellt einen neuen 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)

Parameter

next
RequestDelegate

Die RequestDelegate , die die nächste Middleware in der Pipeline darstellt.

options
IOptions<RequestLocalizationOptions>

DerRequestLocalizationOptions, der die Optionen für das für die ProtokollierungRequestLocalizationMiddleware verwendete Die ILoggerFactory darstellt.

loggerFactory
ILoggerFactory
Attribute

Gilt für: