TreeNodeExtensionsHaveSameParentT Method |
Determines whether a couple of nodes share the same parent node.
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool HaveSameParent<T>(
IEnumerable<T> nodes
)
where T : Object, INodeWithParentNode<T>
Parameters
- nodes IEnumerableT
- The nodes.
Type Parameters
- T
- Type of node.
Return Value
BooleanTrue if all nodes in the enumeration share the same parent. An exception is thrown if the enumeration is empty or contains empty elements.
See Also