예제 #1
0
 private void Process(NewDocumentAddedEvent newDocumentAddedEvent)
 {
     Persist(newDocumentAddedEvent, MutateInternalState);
 }
예제 #2
0
 private void MutateInternalState(NewDocumentAddedEvent newDocumentAddedEvent)
 {
     this.headDocumentIdForFeed = newDocumentAddedEvent.DocumentId;
 }