Class AbpAuditingMiddleware
Inheritance
System.Object
AbpAuditingMiddleware
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: Volo.Abp.AspNetCore.Auditing
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public class AbpAuditingMiddleware : IMiddleware, ITransientDependency
Constructors
AbpAuditingMiddleware(IAuditingManager, ICurrentUser, IOptions<AbpAuditingOptions>)
Declaration
public AbpAuditingMiddleware(IAuditingManager auditingManager, ICurrentUser currentUser, IOptions<AbpAuditingOptions> options)
Parameters
| Type | Name | Description |
|---|---|---|
| IAuditingManager | auditingManager | |
| ICurrentUser | currentUser | |
| Microsoft.Extensions.Options.IOptions<AbpAuditingOptions> | options |
Properties
CurrentUser
Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
| Type | Description |
|---|---|
| ICurrentUser |
Options
Declaration
protected AbpAuditingOptions Options { get; }
Property Value
| Type | Description |
|---|---|
| AbpAuditingOptions |
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