Show / Hide Table of Contents

Class EntityChangeEventHelper

Inheritance
object
EntityChangeEventHelper
Implements
IEntityChangeEventHelper
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.Domain.Entities.Events
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public class EntityChangeEventHelper : IEntityChangeEventHelper, ITransientDependency

Constructors

EntityChangeEventHelper(IUnitOfWorkManager, IEntityToEtoMapper, IOptions<AbpDistributedEntityEventOptions>)

Declaration
public EntityChangeEventHelper(IUnitOfWorkManager unitOfWorkManager, IEntityToEtoMapper entityToEtoMapper, IOptions<AbpDistributedEntityEventOptions> distributedEntityEventOptions)
Parameters
Type Name Description
IUnitOfWorkManager unitOfWorkManager
IEntityToEtoMapper entityToEtoMapper
IOptions<AbpDistributedEntityEventOptions> distributedEntityEventOptions

Properties

DistributedEntityEventOptions

Declaration
protected AbpDistributedEntityEventOptions DistributedEntityEventOptions { get; }
Property Value
Type Description
AbpDistributedEntityEventOptions

DistributedEventBus

Declaration
public IDistributedEventBus DistributedEventBus { get; set; }
Property Value
Type Description
IDistributedEventBus

EntityToEtoMapper

Declaration
protected IEntityToEtoMapper EntityToEtoMapper { get; }
Property Value
Type Description
IEntityToEtoMapper

LocalEventBus

Declaration
public ILocalEventBus LocalEventBus { get; set; }
Property Value
Type Description
ILocalEventBus

Logger

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

UnitOfWorkManager

Declaration
protected IUnitOfWorkManager UnitOfWorkManager { get; }
Property Value
Type Description
IUnitOfWorkManager

Methods

IsSameEntityEventRecord(UnitOfWorkEventRecord, UnitOfWorkEventRecord)

Declaration
public bool IsSameEntityEventRecord(UnitOfWorkEventRecord record1, UnitOfWorkEventRecord record2)
Parameters
Type Name Description
UnitOfWorkEventRecord record1
UnitOfWorkEventRecord record2
Returns
Type Description
bool

PublishEntityCreatedEvent(object)

Declaration
public virtual void PublishEntityCreatedEvent(object entity)
Parameters
Type Name Description
object entity

PublishEntityDeletedEvent(object)

Declaration
public virtual void PublishEntityDeletedEvent(object entity)
Parameters
Type Name Description
object entity

PublishEntityUpdatedEvent(object)

Declaration
public virtual void PublishEntityUpdatedEvent(object entity)
Parameters
Type Name Description
object entity

TriggerEventWithEntity(IEventBus, Type, object, object)

Declaration
protected virtual void TriggerEventWithEntity(IEventBus eventPublisher, Type genericEventType, object entityOrEto, object originalEntity)
Parameters
Type Name Description
IEventBus eventPublisher
Type genericEventType
object entityOrEto
object originalEntity

Implements

IEntityChangeEventHelper
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