Method FlattenWithLevels<TProps>(ITreeRedbObject<TProps>)

Assembly: redb.Core.dll

Flattens typed tree to list with level indicators.

public static IEnumerable<(ITreeRedbObject<TProps> Node, int Level)> FlattenWithLevels<TProps>(this ITreeRedbObject<TProps> root) where TProps : class, new()