Class AbpRequestLocalizationMiddleware
Inheritance
System.Object
AbpRequestLocalizationMiddleware
Implements
ITransientDependency
Namespace: Microsoft.AspNetCore.RequestLocalization
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public class AbpRequestLocalizationMiddleware : IMiddleware, ITransientDependency
Constructors
AbpRequestLocalizationMiddleware(IAbpRequestLocalizationOptionsProvider, ILoggerFactory)
Declaration
public AbpRequestLocalizationMiddleware(IAbpRequestLocalizationOptionsProvider requestLocalizationOptionsProvider, ILoggerFactory loggerFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IAbpRequestLocalizationOptionsProvider | requestLocalizationOptionsProvider | |
| ILoggerFactory | loggerFactory |
Methods
InvokeAsync(HttpContext, RequestDelegate)
Declaration
public Task InvokeAsync(HttpContext context, RequestDelegate next)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpContext | context | |
| RequestDelegate | next |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
ITransientDependency