Class DomainEventsDispatcher
Namespace: Restaurant.Infrastructure.Persistence
Assembly: Restaurant.Infrastructure.dll
public class DomainEventsDispatcher : IDomainEventsDispatcher
Inheritance
object ← DomainEventsDispatcher
Implements
IDomainEventsDispatcher
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
DomainEventsDispatcher\(RestaurantContext, IMediator\)
public DomainEventsDispatcher(RestaurantContext dbContext, IMediator mediator)
Parameters
dbContext RestaurantContext
mediator IMediator
Methods
DispatchEventsAsync\(\)
public Task DispatchEventsAsync()
Returns
Last modified: 21 May 2024