Class ImageDisposableBase<TImage>
Base class for image implementations where underlying image type is disposable.
Inherited Members
Namespace: Dicom.Imaging
Assembly: cs.temp.dll.dll
Syntax
public abstract class ImageDisposableBase<TImage> : ImageBase<TImage>, IImage, IDisposable where TImage : class, IDisposable
Type Parameters
Name | Description |
---|---|
TImage | Disposable image implementation type. |
Constructors
ImageDisposableBase(Int32, Int32, PinnedIntArray, TImage)
Initializes an instance of the ImageDisposableBase<TImage> object.
Declaration
protected ImageDisposableBase(int width, int height, PinnedIntArray pixels, TImage image)
Parameters
Type | Name | Description |
---|---|---|
Int32 | width | Image width. |
Int32 | height | Image height. |
PinnedIntArray | pixels | Array of pixels. |
TImage | image | Image object. |
Methods
Dispose(Boolean)
Dispose resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | Dispose mode? |
Overrides
Dicom.Imaging.ImageBase<TImage>.Dispose(System.Boolean)
Finalize()
Destructor to free up the image resources.
Declaration
protected void Finalize()