private static SelectedSnapshot ToSelectedSnapshot(SnapshotEntry entry) { return new SelectedSnapshot(new SnapshotMetadata(entry.PersistenceId, entry.SequenceNr, new DateTime(entry.Timestamp)), entry.Snapshot); } }