Show / Hide Table of Contents

Class ExpiredAuditLogDeleterService

Inheritance
object
ExpiredAuditLogDeleterService
Implements
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.AuditLogging
Assembly: Volo.Abp.AuditLogging.Application.dll
Syntax
public class ExpiredAuditLogDeleterService : ITransientDependency

Constructors

ExpiredAuditLogDeleterService(IAbpDistributedLock, ITenantStore, ISettingProvider, ISettingManager, IFeatureChecker, IAuditLogRepository, ICurrentTenant, IClock, ICancellationTokenProvider)

Declaration
public ExpiredAuditLogDeleterService(IAbpDistributedLock distributedLock, ITenantStore tenantStore, ISettingProvider settingProvider, ISettingManager settingManager, IFeatureChecker featureChecker, IAuditLogRepository auditLogRepository, ICurrentTenant currentTenant, IClock clock, ICancellationTokenProvider cancellationTokenProvider)
Parameters
Type Name Description
IAbpDistributedLock distributedLock
ITenantStore tenantStore
ISettingProvider settingProvider
ISettingManager settingManager
IFeatureChecker featureChecker
IAuditLogRepository auditLogRepository
ICurrentTenant currentTenant
IClock clock
ICancellationTokenProvider cancellationTokenProvider

Properties

AuditLogRepository

Declaration
protected IAuditLogRepository AuditLogRepository { get; }
Property Value
Type Description
IAuditLogRepository

CancellationTokenProvider

Declaration
protected ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
Type Description
ICancellationTokenProvider

Clock

Declaration
protected IClock Clock { get; }
Property Value
Type Description
IClock

CurrentTenant

Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
Type Description
ICurrentTenant

DistributedLock

Declaration
protected IAbpDistributedLock DistributedLock { get; }
Property Value
Type Description
IAbpDistributedLock

FeatureChecker

Declaration
protected IFeatureChecker FeatureChecker { get; }
Property Value
Type Description
IFeatureChecker

Logger

Declaration
public ILogger<ExpiredAuditLogDeleterService> Logger { get; set; }
Property Value
Type Description
ILogger<ExpiredAuditLogDeleterService>

SettingManager

Declaration
protected ISettingManager SettingManager { get; }
Property Value
Type Description
ISettingManager

SettingProvider

Declaration
protected ISettingProvider SettingProvider { get; }
Property Value
Type Description
ISettingProvider

TenantStore

Declaration
protected ITenantStore TenantStore { get; }
Property Value
Type Description
ITenantStore

Methods

DeleteAsync()

Declaration
public virtual Task DeleteAsync()
Returns
Type Description
Task

DeleteExpiredAuditLogsAsync()

Declaration
protected virtual Task DeleteExpiredAuditLogsAsync()
Returns
Type Description
Task

Implements

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