public static void AddRange <T>(this ViewableCollection <T> collection, IEnumerable items) { foreach (T item in items) { collection.Add(item); } }
public static void AddRange <T>(this ViewableCollection <T> collection, IEnumerable items) { collection.BeginUpdate(); foreach (T item in items) { collection.Add(item); } collection.EndUpdate(); }