예제 #1
0
        public void RemoveRange(int index, int count)
        {
            if (count == 0)
            {
                return;
            }

            var copy = new T[count];

            BaseList.CopyTo(index, copy, 0, count);
            WriteData(
                () => BaseList.RemoveRange(index, count),
                () => BaseList.InsertRange(index, copy));

            OnSizeChanged(EventArgs.Empty);
        }
예제 #2
0
 public void CopyTo(T[] array, int arrayIndex)
 {
     BaseList.CopyTo(array, arrayIndex);
 }