Class VeryObservableCollection<T>
- Namespace
- Whim
- Assembly
- Whim.dll
A custom ObservableCollection<T> which also subscribes to changes in its children.
A normal ObservableCollection<T> only raises events when the collection itself changes.
public class VeryObservableCollection<T> : ObservableCollection<T>, IList<T>, ICollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Type Parameters
T
- Inheritance
-
Collection<T>VeryObservableCollection<T>
- Implements
-
IList<T>ICollection<T>IEnumerable<T>
- Inherited Members
- Extension Methods
Constructors
VeryObservableCollection()
Initializes a new instance of the ObservableCollection<T> class.
public VeryObservableCollection()
Methods
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the CollectionChanged event with the provided arguments.
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
NotifyCollectionChangedEventArgs- Arguments of the event being raised.