Class DisposableObject
Represents an object that implements the System.IDisposable interface and automatically releases any events, attached to this instance.
Inheritance
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.dll
Syntax
public abstract class DisposableObject : IDisposable
Constructors
DisposableObject()
Properties
Events
Gets the list of all events, associated with this instance.
Declaration
protected EventHandlerList Events { get; }
Property Value
EventHandlerList
|
IsDisposed
Gets a value indicating whether the object is already disposed.
Declaration
public bool IsDisposed { get; }
Property Value
System.Boolean
|
IsDisposing
Gets a value indicating whether the object is currently in a Dispose cycle.
Declaration
public bool IsDisposing { get; }
Property Value
System.Boolean
|
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()
Events
Disposed
Raised when the object has finished its Dispose routine.
Declaration
public event EventHandler Disposed
Event Type
System.EventHandler
|
Disposing
Raised when the object enters its Dispose routine.
Declaration
public event EventHandler Disposing
Event Type
System.EventHandler
|