Class EntityChangeEventHelper
Inheritance
EntityChangeEventHelper
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
Properties
DistributedEntityEventOptions
Declaration
protected AbpDistributedEntityEventOptions DistributedEntityEventOptions { get; }
Property Value
DistributedEventBus
Declaration
public IDistributedEventBus DistributedEventBus { get; set; }
Property Value
EntityToEtoMapper
Declaration
protected IEntityToEtoMapper EntityToEtoMapper { get; }
Property Value
LocalEventBus
Declaration
public ILocalEventBus LocalEventBus { get; set; }
Property Value
Logger
Declaration
public ILogger<EntityChangeEventHelper> Logger { get; set; }
Property Value
UnitOfWorkManager
Declaration
protected IUnitOfWorkManager UnitOfWorkManager { get; }
Property Value
Methods
IsSameEntityEventRecord(UnitOfWorkEventRecord, UnitOfWorkEventRecord)
Declaration
public bool IsSameEntityEventRecord(UnitOfWorkEventRecord record1, UnitOfWorkEventRecord record2)
Parameters
Returns
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
Implements
Extension Methods