ClassDisposableObject
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
DisposableObject()
Initializes a new instance of the DisposableObject class.
Declaration
protected DisposableObject()
Properties
Events
Gets the list of all events, associated with this instance.
Declaration
protected EventHandlerList Events { get; }
Property Value
IsDisposed
Gets a value indicating whether the object is already disposed.
Declaration
[Browsable(false)]
public bool IsDisposed { get; }
Property Value
IsDisposing
Gets a value indicating whether the object is currently in a Dispose cycle.
Declaration
[Browsable(false)]
public bool IsDisposing { get; }
Property Value
Methods
Dispose()
Releases all resources, used by this instance.
Declaration
public void Dispose()
Implements
DisposeManagedResources()
Disposes all managed resources allocated by this instance.
Declaration
protected virtual void DisposeManagedResources()
DisposeUnmanagedResources()
Disposes all unmanaged resources allocated by this instance.
Declaration
protected virtual void DisposeUnmanagedResources()