Dela via


RequestLocalizationMiddleware Class

Definition

Enables automatic setting of the culture for HttpRequests based on information sent by the client in headers and logic provided by the application.

public ref class RequestLocalizationMiddleware
public class RequestLocalizationMiddleware
type RequestLocalizationMiddleware = class
Public Class RequestLocalizationMiddleware
Inheritance
RequestLocalizationMiddleware

Constructors

RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>, ILoggerFactory)

Creates a new RequestLocalizationMiddleware.

RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>)
Obsolete.

Creates a new RequestLocalizationMiddleware.

Methods

Invoke(HttpContext)

Invokes the logic of the middleware.

Applies to