Class CollectionChangeListener<T>
- Namespace
- NMF.Expressions
- Assembly
- NMF.Expressions.dll
Denotes a class that listenes for collection changes
public class CollectionChangeListener<T> : IChangeListener
Type Parameters
TThe type of elements
- Inheritance
-
CollectionChangeListener<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
CollectionChangeListener(INotifiable)
Create a new instance
public CollectionChangeListener(INotifiable node)
Parameters
nodeINotifiablethe target node
Properties
Node
Gets the target dependency graph node
public INotifiable Node { get; }
Property Value
Methods
AggregateChanges()
Aggregates the changes
public INotificationResult AggregateChanges()
Returns
- INotificationResult
A notification result aggregating the changes since the last propagation
Subscribe(INotifyCollectionChanged)
Subscribe to changes of the collection
public void Subscribe(INotifyCollectionChanged collection)
Parameters
collectionINotifyCollectionChangedThe target collection
Unsubscribe()
Unsubscribe changes
public void Unsubscribe()