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 |
|
| System.Type |
type |
|
| System.Reflection.MethodInfo |
method |
|
| System.Collections.Generic.IDictionary<TKey, TValue><string, 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 |
|
| System.Type |
type |
|
| System.Reflection.MethodInfo |
method |
|
| object[] |
arguments |
|
Returns
CreateAuditLogInfo()
Declaration
AuditLogInfo CreateAuditLogInfo()
Returns
IsEntityHistoryEnabled(Type, bool)
Declaration
bool IsEntityHistoryEnabled(Type entityType, bool defaultValue = false)
Parameters
| Type |
Name |
Description |
| System.Type |
entityType |
|
| bool |
defaultValue |
|
Returns
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
Extension Methods