Ghost1372

everything can be handy

OptimizedObservableCollection

A super awesome ObservableCollection that adds important methods such as: AddRange, RemoveRange, Replace, and ReplaceRange with single CollectionChanged notification.

Example:

1
2
3
4
5
6
7
8
9
10
11
12
public OptimizedObservableCollection<int> Items = new OptimizedObservableCollection<int>();

private void AddItems()
{
var array = new int[3];
array[0] = 7;
array[1] = 6;
array[2] = 7;

Items.AddRange(array);
}

0%