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)); }
private void Process(NewDocumentAddedEvent newDocumentAddedEvent) { Persist(newDocumentAddedEvent, MutateInternalState); }
private void MutateInternalState(NewDocumentAddedEvent newDocumentAddedEvent) { this.headDocumentIdForFeed = newDocumentAddedEvent.DocumentId; }