Disposer.Dispose Method (Object, Action)

Tungsten Suite

DisposerDispose Method (Object, Action)

Calls the action (should contain cleanup code)

Namespace:  W.Threading.Lockers
Assembly:  Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
Syntax
C#
public void Dispose(
	Object objToSupressFinalize,
	Action cleanupAction
)

Parameters

objToSupressFinalize
Type: SystemObject
The object on which to suppress the finalizer call (usually the one currently being disposed)
cleanupAction
Type: SystemAction
The action to call
See Also