Click or drag to resize

graphToolsGetNodeSetWithLeafsT Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Collects all leaf nodes from the parent node, and pack it into graphNodeSet.

Namespace:  imbSCI.Data.collection.graph
Assembly:  imbSCI.Data (in imbSCI.Data.dll) Version: 0.3.70.
Syntax
C#
public static graphNodeSet GetNodeSetWithLeafs<T>(
	this T parent,
	List<string> leafNames,
	int min = -1
)
where T : class, IGraphNode
Request Example View Source

Parameters

parent
Type: T
The parent.
leafNames
Type: System.Collections.GenericListString
The leaf names.
min (Optional)
Type: SystemInt32
The minimum.

Type Parameters

T

Return Value

Type: graphNodeSet

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also