Show / Hide Table of Contents

Class DisposableObject

Represents a class which has managed or unmanaged resources.

Inheritance
System.Object
DisposableObject
AgeEstimator
EmotionEstimator
EyeBlinkDetector
FaceDetector
FaceLandmarkDetector
GenderEstimator
HeadPoseEstimator
FaceEncoding
FaceRecognition
Image
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FaceRecognitionDotNet
Assembly: FaceRecognitionDotNet.dll
Syntax
public abstract class DisposableObject : IDisposable

Properties

| Improve this Doc View Source

IsDisposed

Gets a value indicating whether this instance has been disposed.

Declaration
public bool IsDisposed { get; }
Property Value
Type Description
System.Boolean

true if this instance has been disposed; otherwise, false.

Methods

| Improve this Doc View Source

Dispose()

Releases all resources used by this DisposableObject.

Declaration
public void Dispose()
| Improve this Doc View Source

DisposeManaged()

Releases all managed resources.

Declaration
protected virtual void DisposeManaged()
| Improve this Doc View Source

DisposeUnmanaged()

Releases all unmanaged resources.

Declaration
protected virtual void DisposeUnmanaged()
| Improve this Doc View Source

ThrowIfDisposed()

If this object is disposed, then System.ObjectDisposedException is thrown.

Declaration
public void ThrowIfDisposed()

Implements

System.IDisposable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX