Esempio n. 1
0
 void IAggregate.ApplyEvent(object @event)
 {
     _registeredRoutes.Dispatch(@event);
     _version++;
 }
Esempio n. 2
0
 protected void ApplyEvent(IAggregateEvent @event)
 {
     _router.Dispatch(@event, GetType());
 }