Skip to content

TreeElementUtility

ClassAssetInventoryAssetInventory.Editor
public static class TreeElementUtility

No description is available for this type.

public static void TreeToList<T>(T root, IList<T> result) where T : TreeElement

No description is available for this member.

Parameters

Name Type Description
root {T}
result System.Collections.Generic.IList{{T}}
public static T ListToTree<T>(IList<T> list) where T : TreeElement

No description is available for this member.

Parameters

Name Type Description
list System.Collections.Generic.IList{{T}}

Returns

{T} — No return description is available.

public static void ValidateDepthValues<T>(IList<T> list) where T : TreeElement

No description is available for this member.

Parameters

Name Type Description
list System.Collections.Generic.IList{{T}}
public static void UpdateDepthValues<T>(T root) where T : TreeElement

No description is available for this member.

Parameters

Name Type Description
root {T}
public static IList<T> FindCommonAncestorsWithinList<T>(IList<T> elements) where T : TreeElement

No 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.