public void CopyTo(T[] array, int arrayIndex, int countLimit) { Extensions.CanCopyTo(array, arrayIndex, countLimit); Extensions.CopyTo(this, array, arrayIndex, countLimit); }
public void CopyTo(IGrouping <TKey, T>[] array, int arrayIndex, int countLimit) { Extensions.CanCopyTo(array, arrayIndex, countLimit); Progressor.While(() => _cache.Count < countLimit).Consume(); _cache.Values.CopyTo(array, arrayIndex, countLimit); }