DisposableObject
Represents an object that implements the IDisposable interface and automatically releases any events, attached to this instance.
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.dll
Syntax:
public abstract class DisposableObject : IDisposable
Inheritance: objectDisposableObject
Derived Classes:
Implements:
Constructors
Initializes a new instance of the DisposableObject class.
protected DisposableObject()
Properties
Gets the list of all events, associated with this instance.
protected EventHandlerList Events { get; }
Gets a value indicating whether the object is already disposed.
[Browsable(false)]
public bool IsDisposed { get; }
Gets a value indicating whether the object is currently in a Dispose cycle.
[Browsable(false)]
public bool IsDisposing { get; }
Methods
Releases all resources, used by this instance.
public void Dispose()
Implements:
Disposes all managed resources allocated by this instance.
protected virtual void DisposeManagedResources()
Disposes all unmanaged resources allocated by this instance.
protected virtual void DisposeUnmanagedResources()
Events
Raised when the object has finished its Dispose routine.
public event EventHandler Disposed
Raised when the object enters its Dispose routine.
public event EventHandler Disposing