Exemple #1
0
 private void MutateInternalState(NewDocumentAddedEvent newDocumentEvent)
 {
     this.LaterEventsDocumentId = newDocumentEvent.DocumentId;
 }
Exemple #2
0
 private void Process(NewDocumentAddedEvent newDocumentEvent)
 {
     MutateInternalState(newDocumentEvent);
     Persist(newDocumentEvent, null);
     Context.Parent.Tell(new Passivate(PoisonPill.Instance));
 }
 private void Process(NewDocumentAddedEvent newDocumentAddedEvent)
 {
     Persist(newDocumentAddedEvent, MutateInternalState);
 }
 private void MutateInternalState(NewDocumentAddedEvent newDocumentAddedEvent)
 {
     this.headDocumentIdForFeed = newDocumentAddedEvent.DocumentId;
 }
 private void MutateInternalState(NewDocumentAddedEvent newDocumentEvent)
 {
     this.LaterEventsDocumentId = newDocumentEvent.DocumentId;
 }
 private void Process(NewDocumentAddedEvent newDocumentEvent)
 {
     MutateInternalState(newDocumentEvent);
     Persist(newDocumentEvent, null);
     Context.Parent.Tell(new Passivate(PoisonPill.Instance));
 }