Click or drag to resize

ControllerBaseDisposeAndSetToNullT Method

Helper function to dispose a member and set it to null.

Namespace: Altaxo.Gui
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected static void DisposeAndSetToNull<T>(
	ref T? objectToDispose
)
where T : class, IDisposable

Parameters

objectToDispose  T
The object to dispose.

Type Parameters

T
Type of the object to dispose.
See Also