Table of Contents

Class DisposableObject

Namespace
FaceRecognitionDotNet
Assembly
VisioForge.Core.FaceAI.dll

Represents a class which has managed or unmanaged resources.

public abstract class DisposableObject : IDisposable

Inheritance

Derived

Implements

Inherited Members

Properties

IsDisposed

Gets a value indicating whether this instance has been disposed.

public bool IsDisposed { get; }

Property Value

bool

Methods

Dispose()

Releases all resources used by this FaceRecognitionDotNet.DisposableObject.

public void Dispose()

Dispose(bool)

Releases all resources used by this FaceRecognitionDotNet.DisposableObject.

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

Indicate value whether Dispose() method was called.

DisposeManaged()

Releases all managed resources.

protected virtual void DisposeManaged()

DisposeUnmanaged()

Releases all unmanaged resources.

protected virtual void DisposeUnmanaged()

ThrowIfDisposed()

If this object is disposed, then ObjectDisposedException is thrown.

public void ThrowIfDisposed()