public void RemoveAt(int index) { var obj = _list[index]; _list.RemoveAt(index); OnValueRemoved?.Invoke(obj); NotifyListChanged(); }
public void Remove(T obj) { _list.Remove(obj); OnValueRemoved?.Invoke(obj); NotifyListChanged(); }