Interface ICollectionObserver<T>
Defines the listener for ObservableCollection.
Namespace:
Assembly: .dll
Syntax
public interface ICollectionObserver<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
onCollectionChanged(ObservableCollection<T> collection, CollectionChangedEventArgs<T> args)
Called when ObservableCollection changes.
Declaration
public abstract void onCollectionChanged(ObservableCollection<T> collection, CollectionChangedEventArgs<T> args)
Parameters
| Type | Name | Description |
|---|---|---|
| ObservableCollection<T> | collection | The collection which changed. |
| CollectionChangedEventArgs<T> | args | The CollectionChangedEventArgs instance with changes in collection. |
Exceptions
| Type | Condition |
|---|---|
| Exception | The thrown Exception instance. |