Table of Contents

Method FlattenTree

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

FlattenTree<T>(T, Func<T, IEnumerable<T>>)

public static IEnumerable<T> FlattenTree<T>(T root, Func<T, IEnumerable<T>> getChildrenFunc)

Parameters

root T
getChildrenFunc Func<T, IEnumerable<T>>

Returns

IEnumerable<T>

Type Parameters

T