Click or drag to resize

SuspendCollectionChangedEventHandlerT Constructor

Constructor. Notifications from the set to the handler are suspended until this object is disposed.

Namespace:  Rhino.Notifications
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public SuspendCollectionChangedEventHandler(
	NotifyCollectionChangedEventHandler handler,
	TrulyObservableOrderedSet<T> set,
	bool fireOnResume = true
)

Parameters

handler
Type: System.Collections.SpecializedNotifyCollectionChangedEventHandler
The event handler to suspend
set
Type: Rhino.Runtime.NotificationsTrulyObservableOrderedSetT
The collection to suspend notifications for
fireOnResume (Optional)
Type: SystemBoolean
If true (=default), upon resuming notifications one Reset event will be fired if the collection was modified during the suspension.
See Also