Exemple #1
0
        public void Dispatch(IEventSource eventSource)
        {
            foreach (var @event in eventSource.GetDomainEvents())
            {
                Dispatch(@event);
            }

            eventSource.CommitDomainEvents();
        }