DisposableObject Class |
Namespace: CMS.Base
public class DisposableObject : IDisposable
The DisposableObject type exposes the following members.
Name | Description | |
---|---|---|
DisposableObject |
Name | Description | |
---|---|---|
CallOnDispose |
Adds the given action to the list of actions called when the handler object is disposed
| |
Dispose |
Make sure the objects get disposed
| |
Lock |
Locks the event on the given lock object. The context stays locked until the handler is disposed.
| |
Using |
Adds the given object to the list of the allocated objects to dispose
|