Table of Contents

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

T

The type of elements

Inheritance
CollectionChangeListener<T>
Implements
Inherited Members
Extension Methods

Constructors

CollectionChangeListener(INotifiable)

Create a new instance

public CollectionChangeListener(INotifiable node)

Parameters

node INotifiable

the target node

Properties

Node

Gets the target dependency graph node

public INotifiable Node { get; }

Property Value

INotifiable

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

collection INotifyCollectionChanged

The target collection

Unsubscribe()

Unsubscribe changes

public void Unsubscribe()