ClassDisposableObject
Represents a basic object which implements IDisposable interface.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
[CLSCompliant(true)]
public class DisposableObject : IDisposable
Inheritance: objectDisposableObject
Derived Classes:
Implements:
Constructors
DisposableObject()
Declaration
public DisposableObject()
Properties
BitState
Gets the RadBitVector64 structure that holds all the bit states of the object.
Declaration
[CLSCompliant(false)]
protected RadBitVector64 BitState { get; }
Property Value
Events
Provides a simple list of delegates.
Declaration
protected EventHandlerList Events { get; }
Property Value
IsDisposed
Determines whether the object is already disposed.
Declaration
[Browsable(false)]
public bool IsDisposed { get; }
Property Value
IsDisposing
Determines whether the object is in a process of being disposed of.
Declaration
[Browsable(false)]
public bool IsDisposing { get; }
Property Value
Methods
Dispose()
Releases all resources associated with this object.
Declaration
public void Dispose()
Implements
Dispose(bool)
Performs the actual Dispose logic.
DisposeManagedResources()
Disposes all MANAGED resources - such as Bitmaps, GDI+ objects, etc.
Declaration
protected virtual void DisposeManagedResources()
DisposeUnmanagedResources()
Releases any UNMANAGED resources used by this object. NOTE: If you declare some unmanaged resources in your class, you should override its finalizer and put disposing logic there also.
Declaration
protected virtual void DisposeUnmanagedResources()
GetBitState(long)
Gets the current bit state for the object, defined by the provided key.
OnBitStateChanged(long, bool, bool)
Notifies the object for a change in its bit state.
PerformDispose(bool)
Performs the core resources release logic.
Declaration
protected virtual void PerformDispose(bool disposing)
Parameters
disposing
SetBitState(long, bool)
Applies the specified boolean value to the BitVector of the object.