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