Beispiel #1
0
 public void AddRange(IEnumerable <T> add)
 {
     _list.AddRange(add);
     foreach (var element in add)
     {
         OnValueAdded?.Invoke(element);
     }
     NotifyListChanged();
 }
Beispiel #2
0
 public void Add(T obj)
 {
     _list.Add(obj);
     OnValueAdded?.Invoke(obj);
     NotifyListChanged();
 }