Table of Contents

Class ImageDisposableBase<TImage>

Namespace
FellowOakDicom.Imaging
Assembly
fo-dicom.core.dll

Base class for image implementations where underlying image type is disposable.

public abstract class ImageDisposableBase<TImage> : ImageBase<TImage>, IImage, IDisposable where TImage : class, IDisposable

Type Parameters

TImage

Disposable image implementation type.

Inheritance
ImageBase<TImage>
ImageDisposableBase<TImage>
Implements
Inherited Members
Extension Methods

Constructors

ImageDisposableBase(int, int, PinnedIntArray, TImage)

Initializes an instance of the ImageDisposableBase<TImage> object.

protected ImageDisposableBase(int width, int height, PinnedIntArray pixels, TImage image)

Parameters

width int

Image width.

height int

Image height.

pixels PinnedIntArray

Array of pixels.

image TImage

Image object.

Methods

Dispose(bool)

Dispose resources.

protected override void Dispose(bool disposing)

Parameters

disposing bool

Dispose mode?

~ImageDisposableBase()

Destructor to free up the image resources.

protected ~ImageDisposableBase()