Click or drag to resize

SuspendableDocumentNodeBaseChildDisposeMemberT Method

Helper function to dispose a child node of this instance. It helps to ensure the correct order: first, the child node is set to null and only then the child node is disposed.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected void ChildDisposeMember<T>(
	ref T? childNode
)
where T : class, IDisposable

Parameters

childNode  T
The child node to dispose.

Type Parameters

T
Type of child node.
See Also