Initializes a new instance of the NodeManager class using simple data management mode.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.HierarchicalData.Core (in DlhSoft.HierarchicalData.Core.dll)
Syntax
| C# |
|---|
public NodeManager( Entity parentEntity, IEnumerable<SimpleNodeItem> simpleNodeItems ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ parentEntity As Entity, _ simpleNodeItems As IEnumerable(Of SimpleNodeItem) _ ) |
Parameters
- parentEntity
- Type: DlhSoft.Windows.Data..::.Entity
Parent entity that owns the NodeManager or null if the manager has no parent entity.
- simpleNodeItems
- Type: System.Collections.Generic..::.IEnumerable<(Of <(SimpleNodeItem>)>)
Item definitions representing nodes to be initially added to the collection.