Open.Hierarchy 1.7.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Open.Hierarchy --version 1.7.0
NuGet\Install-Package Open.Hierarchy -Version 1.7.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Open.Hierarchy" Version="1.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Open.Hierarchy --version 1.7.0
#r "nuget: Open.Hierarchy, 1.7.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.7.0

// Install Open.Hierarchy as a Cake Tool
#tool nuget:?package=Open.Hierarchy&version=1.7.0

Open.Hierarchy

Node<T>

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.

Node<T>.Factory

Blank Instance

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

Mapping

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

Cloning

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

Recycling

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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

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

Package Downloads
Open.Evaluation

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.2 281 4/15/2023
1.9.1 1,719 4/18/2022
1.9.0 909 4/16/2022
1.8.4 445 2/25/2022
1.8.3 359 7/4/2021
1.8.1 517 7/16/2020
1.8.0 606 7/11/2020
1.7.2 495 6/10/2020
1.7.1 578 1/4/2020
1.7.0 487 12/19/2019
1.6.2 592 7/4/2019
1.6.1 534 7/3/2019