Class AbpRequestLocalizationMiddleware
Inheritance
System.Object
AbpRequestLocalizationMiddleware
Implements
Microsoft.AspNetCore.Http.IMiddleware
ITransientDependency
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 | |
| Microsoft.Extensions.Logging.ILoggerFactory | loggerFactory |
Methods
InvokeAsync(HttpContext, RequestDelegate)
Declaration
public Task InvokeAsync(HttpContext context, RequestDelegate next)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Http.HttpContext | context | |
| Microsoft.AspNetCore.Http.RequestDelegate | next |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
Microsoft.AspNetCore.Http.IMiddleware
ITransientDependency