Show / Hide Table of Contents

Class AuditPropertySetter

Inheritance
object
AuditPropertySetter
Implements
IAuditPropertySetter
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 AuditPropertySetter : IAuditPropertySetter, ITransientDependency

Constructors

AuditPropertySetter(ICurrentUser, ICurrentTenant, IClock)

Declaration
public AuditPropertySetter(ICurrentUser currentUser, ICurrentTenant currentTenant, IClock clock)
Parameters
Type Name Description
ICurrentUser currentUser
ICurrentTenant currentTenant
IClock clock

Properties

Clock

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

CurrentTenant

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

CurrentUser

Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
Type Description
ICurrentUser

Methods

IncrementEntityVersionProperty(object)

Declaration
public virtual void IncrementEntityVersionProperty(object targetObject)
Parameters
Type Name Description
object targetObject

SetCreationProperties(object)

Declaration
public virtual void SetCreationProperties(object targetObject)
Parameters
Type Name Description
object targetObject

SetCreationTime(object)

Declaration
protected virtual void SetCreationTime(object targetObject)
Parameters
Type Name Description
object targetObject

SetCreatorId(object)

Declaration
protected virtual void SetCreatorId(object targetObject)
Parameters
Type Name Description
object targetObject

SetDeleterId(object)

Declaration
protected virtual void SetDeleterId(object targetObject)
Parameters
Type Name Description
object targetObject

SetDeletionProperties(object)

Declaration
public virtual void SetDeletionProperties(object targetObject)
Parameters
Type Name Description
object targetObject

SetDeletionTime(object)

Declaration
protected virtual void SetDeletionTime(object targetObject)
Parameters
Type Name Description
object targetObject

SetLastModificationTime(object)

Declaration
protected virtual void SetLastModificationTime(object targetObject)
Parameters
Type Name Description
object targetObject

SetLastModifierId(object)

Declaration
protected virtual void SetLastModifierId(object targetObject)
Parameters
Type Name Description
object targetObject

SetModificationProperties(object)

Declaration
public virtual void SetModificationProperties(object targetObject)
Parameters
Type Name Description
object targetObject

Implements

IAuditPropertySetter
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