Open.Hierarchy 1.9.1

.NET Standard 2.0
Install-Package Open.Hierarchy -Version 1.9.1
dotnet add package Open.Hierarchy --version 1.9.1
<PackageReference Include="Open.Hierarchy" Version="1.9.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Open.Hierarchy --version 1.9.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Open.Hierarchy, 1.9.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Open.Hierarchy as a Cake Addin
#addin nuget:?package=Open.Hierarchy&version=1.9.1

// Install Open.Hierarchy as a Cake Tool
#tool nuget:?package=Open.Hierarchy&version=1.9.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.




One of the important abilities of Node<T> and its supporting classes is to allow for creating and modifying tree structures that only have a parent to child relationship. It's important to ensure that a node cannot occur multiple times in a tree but an instance of its value can occur any number of times. This facilitates potential 'value sub-trees' that can have duplicate references but not duplicate instances. By using Node<T> as a container, a single instance can exist multiple times in a tree but still be uniquely identifiable by its position.


Blank Instance

Calling .GetBlankNode() will retrieve a blank node from the underlying object pool or create a new one.


Calling .Map(root) generates node hierarchy map based upon if the root or any of its children implement IParent.


Calling .Clone(node) creates a copy of the node map.


Node<T> instances can be recycled by calling the Factory.Recycle(node) method. The node itself and its children are torn down and recycled to an object pool.

WARNING: The Factory.Recycle(node) method is the one point of potential trouble if multiple references are retained. It must be used with care.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Open.Hierarchy:

Package Downloads

A framework for evaluating complex formulas. Part of the "Open" set of libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.9.1 115 4/18/2022
1.9.0 80 4/16/2022
1.8.4 71 2/25/2022
1.8.3 173 7/4/2021
1.8.1 318 7/16/2020
1.8.0 434 7/11/2020
1.7.2 285 6/10/2020
1.7.1 391 1/4/2020
1.7.0 311 12/19/2019
1.6.2 376 7/4/2019
1.6.1 334 7/3/2019