Click or drag to resize

ResourceReleaserT Class

This is a tool that can be used for managing the automatic releasing of resources via the using statement.
Inheritance Hierarchy
SystemObject
  Atalasoft.ImagingResourceReleaserT
    Atalasoft.ImagingBinaryPaletteEnforcer
    Atalasoft.Imaging.MemoryPixelMemoryLocker

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class ResourceReleaser<T> : IDisposable

Type Parameters

T

The ResourceReleaserT type exposes the following members.

Constructors
Methods
  NameDescription
Public methodDispose
Disposes the ResourceReleaser.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the ResourceReleaserT class.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldmVal
The backing field for the val parameter.
Top
Remarks
See PixelMemoryLock for a concrete example of this class.
Examples
See Also