Browse Source

Use eventEntry.EventBus instead of eventPublisher

pull/4715/head
liangshiwei 6 years ago
parent
commit
25628575e5
  1. 2
      framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/EntityChangeEventHelper.cs

2
framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/EntityChangeEventHelper.cs

@ -263,7 +263,7 @@ namespace Volo.Abp.Domain.Entities.Events
{ {
try try
{ {
await eventPublisher.PublishAsync( await eventEntry.EventBus.PublishAsync(
eventEntry.EventType, eventEntry.EventType,
Activator.CreateInstance(eventEntry.EventType, eventEntry.EntityOrEto) Activator.CreateInstance(eventEntry.EventType, eventEntry.EntityOrEto)
); );

Loading…
Cancel
Save