Class ImageDisposableBase<TImage>
Base class for image implementations where underlying image type is disposable.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FellowOakDicom.Imaging
Assembly: fo-dicom.core.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 |
---|---|---|
System.Int32 | width | Image width. |
System.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 |
---|---|---|
System.Boolean | disposing | Dispose mode? |
Overrides
FellowOakDicom.Imaging.ImageBase<TImage>.Dispose(System.Boolean)
Finalize()
Destructor to free up the image resources.
Declaration
protected void Finalize()
Implements
System.IDisposable