Traverse NuGet Package

Explore trees and tree-like structures with LINQ using tree-traversal algorithms like breadth-first and depth-first search:

IEnumerable<DirectoryInfo> childDirectories = Traverse.DepthFirst(new DirectoryInfo(...), d => d.EnumerateDirectories());
IEnumerable<DirectoryInfo> parentDirectories = Traverse.Along(new DirectoryInfo(...), d => d.Parent);.




Got any Traverse Question?





Info

Version: 1.0.1
Author(s): Michael Adelson
Last Update: Friday, March 13, 2020
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/madelson/Traverse
NuGet Url: https://www.nuget.org/packages/Traverse


Install
Install-Package Traverse
dotnet add package Traverse
paket add Traverse
Traverse Download (Unzip the "nupkg" after downloading)

.NETFramework 4.5
  • No dependencies.
.NETStandard 2.0
  • No dependencies.


Tags



STATS

must-have-score

avg-downloads-per-day

3

days-since-last-release

1714