Browse Source

Merge pull request #4715 from abpframework/liangshiwei/eventbus-patch-1

Use eventEntry.EventBus instead of eventPublisher
pull/4783/head
Halil İbrahim Kalkan 6 years ago
committed by GitHub
parent
commit
6136fab6ac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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
{
await eventPublisher.PublishAsync(
await eventEntry.EventBus.PublishAsync(
eventEntry.EventType,
Activator.CreateInstance(eventEntry.EventType, eventEntry.EntityOrEto)
);

Loading…
Cancel
Save