Skip to content

HierarchyBuilder

ClassAssetInventoryAssetInventory.Editor
public static class HierarchyBuilder

No description is available for this type.

public const int PATH = 0

No description is available for this member.

Returns

System.Int32 — No return description is available.

public const int CATEGORY = 1

No description is available for this member.

Returns

System.Int32 — No return description is available.

public const int PUBLISHER = 2

No description is available for this member.

Returns

System.Int32 — No return description is available.

public const int PACKAGE = 3

No description is available for this member.

Returns

System.Int32 — No return description is available.

public const int TYPE = 4

No description is available for this member.

Returns

System.Int32 — No return description is available.

public static List<HierarchyTreeElement> Build(List<AssetInfo> files, int hierarchyType)

No description is available for this member.

Parameters

Name Type Description
files System.Collections.Generic.List{AssetInventory.AssetInfo}
hierarchyType System.Int32

Returns

System.Collections.Generic.List{AssetInventory.HierarchyTreeElement} — No return description is available.

public static void BuildPathHierarchy(List<AssetInfo> files, List<HierarchyTreeElement> elements, ref int idCounter)

No description is available for this member.

Parameters

Name Type Description
files System.Collections.Generic.List{AssetInventory.AssetInfo}
elements System.Collections.Generic.List{AssetInventory.HierarchyTreeElement}
idCounter System.Int32

BuildCategoryHierarchy(List, List, ref int)

Section titled “BuildCategoryHierarchy(List, List, ref int)”
public static void BuildCategoryHierarchy(List<AssetInfo> files, List<HierarchyTreeElement> elements, ref int idCounter)

No description is available for this member.

Parameters

Name Type Description
files System.Collections.Generic.List{AssetInventory.AssetInfo}
elements System.Collections.Generic.List{AssetInventory.HierarchyTreeElement}
idCounter System.Int32

BuildPublisherHierarchy(List, List, ref int)

Section titled “BuildPublisherHierarchy(List, List, ref int)”
public static void BuildPublisherHierarchy(List<AssetInfo> files, List<HierarchyTreeElement> elements, ref int idCounter)

No description is available for this member.

Parameters

Name Type Description
files System.Collections.Generic.List{AssetInventory.AssetInfo}
elements System.Collections.Generic.List{AssetInventory.HierarchyTreeElement}
idCounter System.Int32

BuildPackageHierarchy(List, List, ref int)

Section titled “BuildPackageHierarchy(List, List, ref int)”
public static void BuildPackageHierarchy(List<AssetInfo> files, List<HierarchyTreeElement> elements, ref int idCounter)

No description is available for this member.

Parameters

Name Type Description
files System.Collections.Generic.List{AssetInventory.AssetInfo}
elements System.Collections.Generic.List{AssetInventory.HierarchyTreeElement}
idCounter System.Int32
public static void BuildTypeHierarchy(List<AssetInfo> files, List<HierarchyTreeElement> elements, ref int idCounter)

No description is available for this member.

Parameters

Name Type Description
files System.Collections.Generic.List{AssetInventory.AssetInfo}
elements System.Collections.Generic.List{AssetInventory.HierarchyTreeElement}
idCounter System.Int32

AddHierarchyElementsDepthFirst(List, HashSet, Dictionary<string, string>, Dictionary<string, int>, string, ref int)

Section titled “AddHierarchyElementsDepthFirst(List, HashSet, Dictionary<string, string>, Dictionary<string, int>, string, ref int)”
public static void AddHierarchyElementsDepthFirst(List<HierarchyTreeElement> elements, HashSet<string> allPaths, Dictionary<string, string> pathNames, Dictionary<string, int> pathCounts, string filterKey, ref int idCounter)

No description is available for this member.

Parameters

Name Type Description
elements System.Collections.Generic.List{AssetInventory.HierarchyTreeElement}
allPaths System.Collections.Generic.HashSet{System.String}
pathNames System.Collections.Generic.Dictionary{System.String,System.String}
pathCounts System.Collections.Generic.Dictionary{System.String,System.Int32}
filterKey System.String
idCounter System.Int32

TraverseHierarchy(List, string, int, Dictionary<string, List>, Dictionary<string, string>, Dictionary<string, int>, string, ref int)

Section titled “TraverseHierarchy(List, string, int, Dictionary<string, List>, Dictionary<string, string>, Dictionary<string, int>, string, ref int)”
public static void TraverseHierarchy(List<HierarchyTreeElement> elements, string parentPath, int depth, Dictionary<string, List<string>> childrenMap, Dictionary<string, string> pathNames, Dictionary<string, int> pathCounts, string filterKey, ref int idCounter)

No description is available for this member.

Parameters

Name Type Description
elements System.Collections.Generic.List{AssetInventory.HierarchyTreeElement}
parentPath System.String
depth System.Int32
childrenMap System.Collections.Generic.Dictionary{System.String,System.Collections.Generic.List{System.String}}
pathNames System.Collections.Generic.Dictionary{System.String,System.String}
pathCounts System.Collections.Generic.Dictionary{System.String,System.Int32}
filterKey System.String
idCounter System.Int32