Table of Contents

Class DisposableObject

Namespace
Emgu.Util
Assembly
Emgu.CV.dll

An abstract class that wrap around a disposable object

public abstract class DisposableObject : IDisposable
Inheritance
DisposableObject
Implements
Derived
Inherited Members

Constructors

DisposableObject()

protected DisposableObject()

Methods

Dispose()

The dispose function that implements IDisposable interface

public void Dispose()

DisposeObject()

Release the unmanaged resources

protected abstract void DisposeObject()

~DisposableObject()

Destructor

protected ~DisposableObject()

ReleaseManagedResources()

Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object

protected virtual void ReleaseManagedResources()