SuspendCollectionChangedNotifications<T>
Using this on a TrulyObservableOrderedSet<T> will suspend notifications until the SuspendCollectionChangedNotifications<T> is disposed.
Type parameters:
| T | where INotifyPropertyChanged, IAssemblyRestrictedObject |
Constructors
SuspendCollectionChangedNotifications
#public SuspendCollectionChangedNotifications(TrulyObservableOrderedSet<T> set, bool fireOnResume = true)
Constructor. Notifications will be suspended until this object is disposed.
Parameters:
| set (TrulyObservableOrderedSet<T>) | The collection to suspend notifications for |
| fireOnResume (bool = true) | If true (=default), upon resuming notifications one NotifyCollectionChangedAction.Reset event will be fired if the collection was modified during the suspension. |
Methods
Dispose
#public void Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.