Exemplo n.º 1
0
 protected void ApplyChange(Event @event)
 {
     ApplyChange(@event, true);
 }
Exemplo n.º 2
0
 // push atomic aggregate changes to local history for further processing (EventStore.SaveEvents)
 private void ApplyChange(Event @event, bool isNew)
 {
     this.AsDynamic().Apply(@event);
     if (isNew) _changes.Add(@event);
 }
Exemplo n.º 3
0
 public EventDescriptor(Guid id, Event eventData, int version)
 {
     EventData = eventData;
     Version = version;
     Id = id;
 }