Click or drag to resize
HierarchyFlattenT Method
Takes the root object in a parent-child object and returns the collection of objects in the hierarchy.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static IEnumerable<T> Flatten<T>(
	T root,
	Func<T, T> getChild
)

Parameters

root
Type: T
getChild
Type: SystemFuncT, T

Type Parameters

T

Return Value

Type: IEnumerableT
See Also