Browse Source
Merge pull request #4789 from abpframework/liangshiwei/patch-1
Use eventEntry.EventBus instead of eventPublisher
pull/4822/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
); |
|
|
); |
|
|
|