Exemplo n.º 1
0
 protected abstract void When(DomainEvent @event);
Exemplo n.º 2
0
 public void ApplyAndPublish(DomainEvent @event)
 {
     _uncommittedEvents.Add(@event);
     Apply(@event);
 }
Exemplo n.º 3
0
 public void Apply(DomainEvent @event)
 {
     When(@event);
 }
Exemplo n.º 4
0
 public void Causes(DomainEvent @event)
 {
     _uncommittedEvents.Add(@event);
     Apply(@event);
 }