Initializes a new instance.
Namespace: TreeLayoutHelper.HierarchyLayoutAssembly: TreeLayoutHelper (in TreeLayoutHelper.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
C# |
---|
public HierarchyLayoutTransformer( ITreeNavigator<TNode> treeNavigator, INodeTransformer<TNode> nodeTransformer ) |
Visual Basic |
---|
Public Sub New ( _ treeNavigator As ITreeNavigator(Of TNode), _ nodeTransformer As INodeTransformer(Of TNode) _ ) |
Visual C++ |
---|
public: HierarchyLayoutTransformer( ITreeNavigator<TNode>^ treeNavigator, INodeTransformer<TNode>^ nodeTransformer ) |
J# |
---|
public HierarchyLayoutTransformer( ITreeNavigator<TNode> treeNavigator, INodeTransformer<TNode> nodeTransformer ) |
JScript |
---|
public function HierarchyLayoutTransformer( treeNavigator : ITreeNavigator<TNode>, nodeTransformer : INodeTransformer<TNode> ) |
JavaScript |
---|
TreeLayoutHelper.HierarchyLayout.HierarchyLayoutTransformer = function(treeNavigator, nodeTransformer); |
Parameters
- treeNavigator
- Type: TreeLayoutHelper..::..ITreeNavigator<(Of <(<'TNode>)>)>
An object that provides a way to navigate through a tree.
- nodeTransformer
- Type: TreeLayoutHelper..::..INodeTransformer<(Of <(<'TNode>)>)>
An object that logically guides the transformation process from tree nodes into tree layout nodes.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | Any of the arguments is nullNothingnullptra null reference (Nothing in Visual Basic). |