[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DisposeBase

Class DisposeBase

Namespace
GrapeCity.Documents.DX
Assembly
GcDocs.DX.Windows.dll

Base class for a System.IDisposable class.

public abstract class DisposeBase : IDisposable
Inheritance
object
DisposeBase
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

DisposeBase()

protected DisposeBase()

Properties

IsDisposed

Gets a value indicating whether this instance is disposed.

public bool IsDisposed { get; }

Property Value

bool

true if this instance is disposed; otherwise, false.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose(bool)

Clean up any resources being used.

protected abstract void Dispose(bool disposing)

Parameters

disposing bool

~DisposeBase()

Releases unmanaged resources and performs other cleanup operations before the DisposeBase is reclaimed by garbage collection.

protected ~DisposeBase()

Events

Disposed

Occurs when this instance is fully disposed.

public event EventHandler<EventArgs> Disposed

Event Type

System.EventHandler<TEventArgs><System.EventArgs>

Disposing

Occurs when this instance is starting to be disposed.

public event EventHandler<EventArgs> Disposing

Event Type

System.EventHandler<TEventArgs><System.EventArgs>