Show / Hide Table of Contents

Interface IAuditingHelper

Namespace: Volo.Abp.Auditing
Assembly: Volo.Abp.Auditing.dll
Syntax
public interface IAuditingHelper

Methods

CreateAuditLogAction(AuditLogInfo, Type, MethodInfo, IDictionary<String, Object>)

Declaration
AuditLogActionInfo CreateAuditLogAction(AuditLogInfo auditLog, Type type, MethodInfo method, IDictionary<string, object> arguments)
Parameters
Type Name Description
AuditLogInfo auditLog
Type type
MethodInfo method
IDictionary<System.String, System.Object> arguments
Returns
Type Description
AuditLogActionInfo

CreateAuditLogAction(AuditLogInfo, Type, MethodInfo, Object[])

Declaration
AuditLogActionInfo CreateAuditLogAction(AuditLogInfo auditLog, Type type, MethodInfo method, object[] arguments)
Parameters
Type Name Description
AuditLogInfo auditLog
Type type
MethodInfo method
System.Object[] arguments
Returns
Type Description
AuditLogActionInfo

CreateAuditLogInfo()

Declaration
AuditLogInfo CreateAuditLogInfo()
Returns
Type Description
AuditLogInfo

IsEntityHistoryEnabled(Type, Boolean)

Declaration
bool IsEntityHistoryEnabled(Type entityType, bool defaultValue = false)
Parameters
Type Name Description
Type entityType
System.Boolean defaultValue
Returns
Type Description
System.Boolean

ShouldSaveAudit(MethodInfo, Boolean)

Declaration
bool ShouldSaveAudit(MethodInfo methodInfo, bool defaultValue = false)
Parameters
Type Name Description
MethodInfo methodInfo
System.Boolean defaultValue
Returns
Type Description
System.Boolean

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft