public StoredSource ReadNext() { if (readSequence <= journal.GreatestId(Name)) { return(new StoredSource(readSequence, journal.EntryValueAt(readSequence, Name))); } return(new StoredSource(StoredSource.NoId, new EntryValue(string.Empty, EntryValue.NoStreamVersion, string.Empty, string.Empty, string.Empty))); }
public StoredSource ReadNext() { if (readSequence <= journal.GreatestId) { return(new StoredSource(readSequence, journal.EntryValueAt(readSequence))); } return(new StoredSource(StoredSource.NO_ID, new EntryValue("", EntryValue.NO_STREAM_VERSION, "", "", ""))); }