[This is preliminary documentation and is subject to change.]
The DisposableObject type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | DisposableObject | Initializes a new instance of the DisposableObject class |
Methods
Name | Description | |
---|---|---|
![]() | Destructor |
Override this method to do actual destructor work
|
![]() | Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
|
![]() ![]() | DisposeAndNull T |
Checks to see if the IDisposable reference is not null and sets it to null in a thread-safe way then calls Dispose().
Returns false if it is already null or not the original reference
|
![]() | EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
|
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | Finalize | (Overrides ![]() |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Properties
Name | Description | |
---|---|---|
![]() | Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
|
![]() | DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
|
See Also