示例#1
0
        public IObservable <ICommit> GetFrom(string checkpointToken = null)
        {
            ThrowWhenDisposed();

            Logger.Debug(Messages.GettingAllCommitsFromCheckpoint, checkpointToken);

            GetEventStoreCheckpoint checkpoint = GetEventStoreCheckpoint.Parse(checkpointToken);

            var reader = new EventReader(_connection, _serializer);

            return(reader.ReadAllFromCheckpoint(checkpoint));
        }