ControllerBaseDisposeAndSetToNullT Method |
Helper function to dispose a member and set it to null.
Namespace: Altaxo.GuiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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