# SuspendCollectionChangedEventHandler<T> class

Namespace: [Rhino.Notifications](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.notifications.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class SuspendCollectionChangedEventHandler<T> : IDisposable
```

Using this on a subscribed event handler for the given [TrulyObservableOrderedSet<T>](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.notifications.trulyobservableorderedset-1.md) will suspend notifications to the specified handler until [SuspendCollectionChangedEventHandler<T>](https://developer.rhino3d.com/api/rhinocommon/type/rhino.notifications.suspendcollectionchangedeventhandler-1.md) is disposed.

**Type parameters:**

- `T` (where INotifyPropertyChanged, IAssemblyRestrictedObject)

## Constructors

- [SuspendCollectionChangedEventHandler<T>](https://developer.rhino3d.com/api/rhinocommon/type/rhino.notifications.suspendcollectionchangedeventhandler-1/ctor.md): Constructor. Notifications from the set to the handler are suspended until this object is disposed.

## Methods

- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.notifications.suspendcollectionchangedeventhandler-1/dispose.md): Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
