RequestLocalizationMiddleware RequestLocalizationMiddleware 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 class RequestLocalizationMiddleware
type RequestLocalizationMiddleware = class
Public Class RequestLocalizationMiddleware
Inheritance
RequestLocalizationMiddlewareRequestLocalizationMiddlewareRequestLocalizationMiddleware

Constructors

RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>) RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>) RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>)

Creates a new RequestLocalizationMiddleware.

Methods

Invoke(HttpContext) Invoke(HttpContext) Invoke(HttpContext)

Invokes the logic of the middleware.

Applies to