C# Class Com.PhilChuang.Utils.MvvmNotificationChainer.CollectionNotificationChainManager

Manages multiple NotificationChains for a single notifying collection. Prevents duplication of NotificationChains by dependent property name. When disposing, calls Dispose on all NotificationChains.
Inheritance: NotificationChainManager
Show file Open project: philchuang/MvvmNotificationChainer Class Usage Examples

Public Methods

Method Description
CollectionNotificationChainManager ( ) : System
CollectionNotificationChainManager ( INotifyCollectionChanged notifyingCollection ) : System
Dispose ( ) : void
ObserveCollection ( INotifyCollectionChanged notifyingCollection ) : void

Begins observing the given notifying collection.

StopObservingCollection ( INotifyCollectionChanged notifyingCollection ) : void

Stop observing the given notifying collection.

Private Methods

Method Description
OnCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Method Details

CollectionNotificationChainManager() public method

public CollectionNotificationChainManager ( ) : System
return System

CollectionNotificationChainManager() public method

public CollectionNotificationChainManager ( INotifyCollectionChanged notifyingCollection ) : System
notifyingCollection INotifyCollectionChanged
return System

Dispose() public method

public Dispose ( ) : void
return void

ObserveCollection() public method

Begins observing the given notifying collection.
public ObserveCollection ( INotifyCollectionChanged notifyingCollection ) : void
notifyingCollection INotifyCollectionChanged
return void

StopObservingCollection() public method

Stop observing the given notifying collection.
public StopObservingCollection ( INotifyCollectionChanged notifyingCollection ) : void
notifyingCollection INotifyCollectionChanged
return void