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
System.Type type
System.Reflection.MethodInfo method
System.Collections.Generic.IDictionary<TKey, TValue><string, 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
System.Type type
System.Reflection.MethodInfo method
object[] arguments
Returns
Type Description
AuditLogActionInfo

CreateAuditLogInfo()

Declaration
AuditLogInfo CreateAuditLogInfo()
Returns
Type Description
AuditLogInfo

IsEntityHistoryEnabled(Type, bool)

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

ShouldSaveAudit(MethodInfo, bool, bool)

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

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