Base |
The BaseDisposable type exposes the following members.
| Name | Description | |
|---|---|---|
| BaseDisposable | Constructs a new BaseDisposable |
| Name | Description | |
|---|---|---|
| Disposed | Indicates if Dispose has been called previously. | |
| ShouldDispose | Indicates if the instance should dispose any resourced when disposed. |
| Name | Description | |
|---|---|---|
| CheckDisposed | Throws an ObjectDisposedException if Disposed is true. | |
| Dispose | Allows derived implemenations a chance to destory manged or unmanged resources. The System.Runtime.CompilerServices.MethodImplOptions.Synchronized attribute prevents two threads from being in this method at the same time. | |
| Finalize |
Finalizes the BaseDisposable by calling Dispose.
(Overrides ObjectFinalize) |