public EventStream(IPersister persister, ICommitDispatcher dispatcher, Guid streamId, int revision) { _persister = persister; _dispatcher = dispatcher; StreamId = streamId; PopulateStream(_persister.GetCommits(StreamId, 0, revision).SelectMany(c => c.Events).ToList()); }
public EventStore(IPersister persister, ICommitDispatcher commitDispatcher) { _persister = persister; _commitDispatcher = commitDispatcher; }
public CommitDispatchingPipelineHook(ICommitDispatcher commitDispatcher) { _commitDispatcher = commitDispatcher; }