Open.Hierarchy
1.6.2
See the version list below for details.
dotnet add package Open.Hierarchy --version 1.6.2
NuGet\Install-Package Open.Hierarchy -Version 1.6.2
<PackageReference Include="Open.Hierarchy" Version="1.6.2" />
paket add Open.Hierarchy --version 1.6.2
#r "nuget: Open.Hierarchy, 1.6.2"
// Install Open.Hierarchy as a Cake Addin #addin nuget:?package=Open.Hierarchy&version=1.6.2 // Install Open.Hierarchy as a Cake Tool #tool nuget:?package=Open.Hierarchy&version=1.6.2
Open.Hierarchy
Node
One of the important abilities of Node
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
as a container, a single instance can exist multiple times in a tree but still be uniquely identifiable by its position.
Node.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
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 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. |
-
.NETStandard 2.0
- Open.Disposable.ObjectPools (>= 2.3.3)
-
.NETStandard 2.1
- Open.Disposable.ObjectPools (>= 2.3.3)
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.