C# Class Emgu.Util.DisposableObject

An abstract class that wrap around a disposable object
Inheritance: IDisposable
Exibir arquivo Open project: fajoy/RTSPExample

Public Methods

Method Description
Dispose ( ) : void

The dispose function that implements IDisposable interface

Protected Methods

Method Description
DisposeObject ( ) : void

Release the unmanaged resources

ReleaseManagedResources ( ) : void

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

Private Methods

Method Description
Dispose ( bool disposing ) : void

Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.

Method Details

Dispose() public method

The dispose function that implements IDisposable interface
public Dispose ( ) : void
return void

DisposeObject() protected abstract method

Release the unmanaged resources
protected abstract DisposeObject ( ) : void
return void

ReleaseManagedResources() protected method

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 ReleaseManagedResources ( ) : void
return void