Class AuditingInterceptor
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Auditing
Assembly: Volo.Abp.Auditing.dll
Syntax
public class AuditingInterceptor : AbpInterceptor, IAbpInterceptor, ITransientDependency
Constructors
AuditingInterceptor(IServiceScopeFactory)
Declaration
public AuditingInterceptor(IServiceScopeFactory serviceScopeFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceScopeFactory | serviceScopeFactory |
Methods
InterceptAsync(IAbpMethodInvocation)
Declaration
public override Task InterceptAsync(IAbpMethodInvocation invocation)
Parameters
| Type | Name | Description |
|---|---|---|
| IAbpMethodInvocation | invocation |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Overrides
ShouldIntercept(IAbpMethodInvocation, AbpAuditingOptions, IAuditingHelper)
Declaration
protected virtual bool ShouldIntercept(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper)
Parameters
| Type | Name | Description |
|---|---|---|
| IAbpMethodInvocation | invocation | |
| AbpAuditingOptions | options | |
| IAuditingHelper | auditingHelper |
Returns
| Type | Description |
|---|---|
| bool |