SuspendCollectionChangedEventHandler<T>

Using this on a subscribed event handler for the given TrulyObservableOrderedSet<T> will suspend notifications to the specified handler until SuspendCollectionChangedEventHandler<T> is disposed.

Constructors

SuspendCollectionChangedEventHandler

#
Constructor. Notifications from the set to the handler are suspended until this object is disposed.
public SuspendCollectionChangedEventHandler(
handler,
The event handler to suspend
set,
The collection to suspend notifications for
fireOnResume = true
If true (=default), upon resuming notifications one NotifyCollectionChangedAction.Reset event will be fired if the collection was modified during the suspension.
)

Methods

Dispose

#
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()