Method FlattenWithLevels(ITreeRedbObject)

Assembly: redb.Core.dll

Flattens polymorphic tree to list with level indicators.

public static IEnumerable<(ITreeRedbObject Node, int Level)> FlattenWithLevels(this ITreeRedbObject root)