![]() |
VOOZH | about |
dotnet add package Open.Hierarchy --version 2.0.0
NuGet\Install-Package Open.Hierarchy -Version 2.0.0
<PackageReference Include="Open.Hierarchy" Version="2.0.0" />
<PackageVersion Include="Open.Hierarchy" Version="2.0.0" />Directory.Packages.props
<PackageReference Include="Open.Hierarchy" />Project file
paket add Open.Hierarchy --version 2.0.0
#r "nuget: Open.Hierarchy, 2.0.0"
#:package Open.Hierarchy@2.0.0
#addin nuget:?package=Open.Hierarchy&version=2.0.0Install as a Cake Addin
#tool nuget:?package=Open.Hierarchy&version=2.0.0Install as a Cake Tool
Open.Hierarchy is a versatile library designed for creating and manipulating tree structures with a focus on efficiency and ease of use. With the Node<T> class and its supporting components, this library enables users to create tree structures that have a unidirectional parent-to-child relationship, enabling more efficient use of memory and simplified garbage collection.
Node<T>Node<T> is a versatile class that represents a node in a bidirectional tree. It can be used as-is or to act as a bidirectional map of a unidirectional tree. In a bidirectional tree, it is crucial to ensure that a node cannot occur multiple times, although its value can occur any number of times. This approach enables the creation of 'value sub-trees' with 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>.FactoryThe Node<T>.Factory class provides useful methods for creating, mapping, cloning, and recycling Node<T> instances:
.GetBlankNode(): Retrieves a blank node from the underlying object pool or creates a new one..Map(root): Generates a node hierarchy map based on whether the root or any of its children implement the IParent interface..Clone(node): Creates a copy of the node map.Factory.Recycle(node): Recycles a Node<T> instance by tearing down the node itself and its children, returning them to an object pool.WARNING: The Factory.Recycle(node) method is a potential source of issues if multiple references are retained. It must be used with care to avoid unexpected behavior.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 1 NuGet packages that depend on Open.Hierarchy:
| Package | Downloads |
|---|---|
|
Open.Evaluation.Core
A framework for evaluating complex formulas. Part of the "Open" set of libraries. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 1,254 | 11/17/2024 |
| 1.10.0 | 1,166 | 5/25/2024 |
| 1.9.2 | 1,406 | 4/15/2023 |
| 1.9.1 | 2,991 | 4/18/2022 |
| 1.9.0 | 2,116 | 4/16/2022 |
| 1.8.4 | 1,600 | 2/25/2022 |
| 1.8.3 | 1,858 | 7/4/2021 |
| 1.8.1 | 1,720 | 7/16/2020 |
| 1.8.0 | 1,757 | 7/11/2020 |
| 1.7.2 | 1,664 | 6/10/2020 |
| 1.7.1 | 1,756 | 1/4/2020 |
| 1.7.0 | 1,682 | 12/19/2019 |
| 1.6.2 | 1,771 | 7/4/2019 |
| 1.6.1 | 1,720 | 7/3/2019 |