[]
Initializes a new instance of the C1TreeDataCollection<T> class.
public C1TreeDataCollection(IEnumerable source, string childrenPath)
| Type | Name | Description |
|---|---|---|
| IEnumerable | source | The source from which the tree is built. |
| string | childrenPath | The path property of the items of type |
Initializes a new instance of the C1TreeDataCollection<T> class.
public C1TreeDataCollection(IEnumerable source, IReadOnlyList<string> childrenPaths)
| Type | Name | Description |
|---|---|---|
| IEnumerable | source | The source from which the tree is built. |
| IReadOnlyList<string> | childrenPaths | The list of paths to build the tree. |