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<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
Type type
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
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
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>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform