コード例 #1
0
 protected abstract void When(DomainEvent @event);
コード例 #2
0
 public void ApplyAndPublish(DomainEvent @event)
 {
     _uncommittedEvents.Add(@event);
     Apply(@event);
 }
コード例 #3
0
 public void Apply(DomainEvent @event)
 {
     When(@event);
 }
コード例 #4
0
 public void Causes(DomainEvent @event)
 {
     _uncommittedEvents.Add(@event);
     Apply(@event);
 }