RaiseMany Method
Definition
- Assemblies
- Savvyio.Domain.dll
RaiseMany<T>(IDomainEventDispatcher, IAggregateRoot<T>)
Raises domain events from the specified aggregate to handlers that implements the IDomainEventHandler interface.
public static void RaiseMany<T>(this IDomainEventDispatcher dispatcher, IAggregateRoot<T> aggregate) where T : IDomainEvent
Parameters
dispatcherIDomainEventDispatcherThe IDomainEventDispatcher to extend.
aggregateIAggregateRoot<T>The aggregate to publish domain events from.
Type Parameters
TThe type that implements the IDomainEvent interface.