Interface IAuditingHelper
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
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
CreateAuditLogInfo()
Declaration
AuditLogInfo CreateAuditLogInfo()
Returns
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