public IEnumerable <DownloadRequest> WhereAfterPosition(TimeSpan position, int?count = null) { var comparer = new DownloadRequestComparable(position); var startIndex = SearchForInsertIndex(comparer); return(count.HasValue ? this.Skip(startIndex).Take(count.Value).ToList() : this.Skip(startIndex).ToList()); }
public new void Add(DownloadRequest item) { var comparable = new DownloadRequestComparable(item.ChunkTimestamp); Add(item, comparable); }