private void Process(NewDocumentAddedEvent newDocumentAddedEvent) { Persist(newDocumentAddedEvent, MutateInternalState); }
private void MutateInternalState(NewDocumentAddedEvent newDocumentAddedEvent) { this.headDocumentIdForFeed = newDocumentAddedEvent.DocumentId; }