TreeElementUtility
public static class TreeElementUtilityNo description is available for this type.
Methods
Section titled “Methods”
TreeToList(T, IList)
Section titled “TreeToList(T, IList)”public static void TreeToList<T>(T root, IList<T> result) where T : TreeElementNo description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
root |
{T} | |
result |
System.Collections.Generic.IList{{T}} | |
ListToTree(IList)
Section titled “ListToTree(IList)”public static T ListToTree<T>(IList<T> list) where T : TreeElementNo description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
list |
System.Collections.Generic.IList{{T}} |
Returns
{T} — No return description is available.
ValidateDepthValues(IList)
Section titled “ValidateDepthValues(IList)”public static void ValidateDepthValues<T>(IList<T> list) where T : TreeElementNo description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
list |
System.Collections.Generic.IList{{T}} | |
UpdateDepthValues(T)
Section titled “UpdateDepthValues(T)”public static void UpdateDepthValues<T>(T root) where T : TreeElementNo description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
root |
{T} | |
FindCommonAncestorsWithinList(IList)
Section titled “FindCommonAncestorsWithinList(IList)”public static IList<T> FindCommonAncestorsWithinList<T>(IList<T> elements) where T : TreeElementNo description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
elements |
System.Collections.Generic.IList{{T}} |
Returns
System.Collections.Generic.IList{{T}} — No return description is available.