Public Member Functions | |
DisposableBase () | |
Empty default constructor. | |
void | Dispose () |
Explicit, deterministic finalization. | |
Protected Member Functions | |
abstract void | Dispose (bool disposing) |
The actual finalizer. |
DotNX::Core::DisposableBase::DisposableBase | ( | ) |
Empty default constructor.
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.
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.