Show / Hide Table of Contents

Class AuditingManager

Inheritance
object
AuditingManager
Implements
IAuditingManager
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Auditing
Assembly: Volo.Abp.Auditing.dll
Syntax
public class AuditingManager : IAuditingManager, ITransientDependency

Constructors

AuditingManager(IAmbientScopeProvider<IAuditLogScope>, IAuditingHelper, IAuditingStore, IServiceProvider, IOptions<AbpAuditingOptions>)

Declaration
public AuditingManager(IAmbientScopeProvider<IAuditLogScope> ambientScopeProvider, IAuditingHelper auditingHelper, IAuditingStore auditingStore, IServiceProvider serviceProvider, IOptions<AbpAuditingOptions> options)
Parameters
Type Name Description
IAmbientScopeProvider<IAuditLogScope> ambientScopeProvider
IAuditingHelper auditingHelper
IAuditingStore auditingStore
IServiceProvider serviceProvider
IOptions<AbpAuditingOptions> options

Properties

Current

Declaration
public IAuditLogScope? Current { get; }
Property Value
Type Description
IAuditLogScope

Logger

Declaration
protected ILogger<AuditingManager> Logger { get; set; }
Property Value
Type Description
ILogger<AuditingManager>

Options

Declaration
protected AbpAuditingOptions Options { get; }
Property Value
Type Description
AbpAuditingOptions

ServiceProvider

Declaration
protected IServiceProvider ServiceProvider { get; }
Property Value
Type Description
IServiceProvider

Methods

BeforeSave(DisposableSaveHandle)

Declaration
protected virtual void BeforeSave(AuditingManager.DisposableSaveHandle saveHandle)
Parameters
Type Name Description
AuditingManager.DisposableSaveHandle saveHandle

BeginScope()

Declaration
public IAuditLogSaveHandle BeginScope()
Returns
Type Description
IAuditLogSaveHandle

ExecutePostContributors(AuditLogInfo)

Declaration
protected virtual void ExecutePostContributors(AuditLogInfo auditLogInfo)
Parameters
Type Name Description
AuditLogInfo auditLogInfo

MergeEntityChanges(AuditLogInfo)

Declaration
protected virtual void MergeEntityChanges(AuditLogInfo auditLog)
Parameters
Type Name Description
AuditLogInfo auditLog

SaveAsync(DisposableSaveHandle)

Declaration
protected virtual Task SaveAsync(AuditingManager.DisposableSaveHandle saveHandle)
Parameters
Type Name Description
AuditingManager.DisposableSaveHandle saveHandle
Returns
Type Description
Task

Implements

IAuditingManager
ITransientDependency

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