Click or drag to resize

ResourceReleaserT Constructor

Constructs a new ResourceReleaser object with the value and action given.

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

Parameters

val
Type: T
Val is an object that should be managed by the ResourceReleaser
action
Type: SystemActionT
Action is an action that will be executed upon disposal of the ResourceReleaser. Action will be passed val when it is executed.
See Also