DotNX::Core::DisposableBase Class Reference

IDisposable implementation helper. More...

Inheritance diagram for DotNX::Core::DisposableBase:

DotNX::Core::AutoDisposable< RefType > DotNX::Ftp::Client DotNX::Ftp::Connection DotNX::Ftp::DataConnection

List of all members.

Public Member Functions

 DisposableBase ()
 Empty default constructor.
void Dispose ()
 Explicit, deterministic finalization.

Protected Member Functions

abstract void Dispose (bool disposing)
 The actual finalizer.


Detailed Description

IDisposable implementation helper.


Constructor & Destructor Documentation

DotNX::Core::DisposableBase::DisposableBase (  ) 

Empty default constructor.


Member Function Documentation

void DotNX::Core::DisposableBase::Dispose (  ) 

Explicit, deterministic finalization.

Called by the using statement.

abstract void DotNX::Core::DisposableBase::Dispose ( bool  disposing  )  [protected, pure virtual]

The actual finalizer.

To be overridden by those subclasses that must guarantee deterministic finalization. Implementations should ensure that finalization is performed exactly once and that base classes' implementations are explicitly called.

Parameters:
disposing When true both managed and unmanaged resources should be disposed of; when false only unmanaged resources should be dealt with.

Implemented in DotNX::Core::AutoDisposable< RefType >, DotNX::Ftp::Client, DotNX::Ftp::Connection, and DotNX::Ftp::DataConnection.


The documentation for this class was generated from the following file:

SourceForge.net Logo
Generated on Sat Oct 18 14:13:25 2008 for .Nick's 0.1.0 by  doxygen 1.5.7.1