Show / Hide Table of Contents

Class AuditingInterceptor

Inheritance
object
AbpInterceptor
AuditingInterceptor
Implements
IAbpInterceptor
ITransientDependency
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
AbpInterceptor.InterceptAsync(IAbpMethodInvocation)

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

Implements

IAbpInterceptor
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft