Click or drag to resize

GenericTreeT Class

Provides a generic tree
Inheritance hierarchy

Namespace: NetEti.Globals
Assembly: NetEti.Global (in NetEti.Global.dll) Version: 1.0.0+ad672dc5430e1683eae7461ce3945c8e9dce1c49
Syntax
public class GenericTree<T>
where T : GenericTree<T>

Type parameters

T
Type of the concrete tree (derived from GenericTree).

The GenericTreeT Type exposes the following members.

Constructors
 NameDescription of the
Public MethodGenericTreeT constructor takes over the parent element.
Back to the top
Properties
 NameDescription of the
Public PropertyChildren List of the children of a node.
Back to the top
Methods
 NameDescription of the
Public MethodClimb2Top Shimmies up through the tree (up to the root) and calls up the action for each node.
Public MethodTraverse(ActionInt32, T) Goes recursively through the tree and calls the action for each node.
Public MethodTraverse(FuncInt32, T, Object, Object) Goes recursively through the tree and calls the action for each node.
Protected MethodTraverse(Int32, ActionInt32, T) Recursive auxiliary routine for the public routine 'Traverse'.
Protected MethodTraverse(Int32, FuncInt32, T, Object, Object, Object) Recursive auxiliary routine for the public routine 'Traverse'.
Back to the top
Fields
 NameDescription of the
Public FieldMother The owner of the node.
Back to the top
Remarks
File: GenericTree.cs Author: Erik Nagel 01.12.2012 Erik Nagel: created
See also