HierarchyBuilder
public static class HierarchyBuilderNo description is available for this type.
Fields
Section titled “Fields”
public const int PATH = 0No description is available for this member.
Returns
System.Int32 — No return description is available.
CATEGORY
Section titled “CATEGORY”public const int CATEGORY = 1No description is available for this member.
Returns
System.Int32 — No return description is available.
PUBLISHER
Section titled “PUBLISHER”public const int PUBLISHER = 2No description is available for this member.
Returns
System.Int32 — No return description is available.
PACKAGE
Section titled “PACKAGE”public const int PACKAGE = 3No description is available for this member.
Returns
System.Int32 — No return description is available.
public const int TYPE = 4No description is available for this member.
Returns
System.Int32 — No return description is available.
Methods
Section titled “Methods”
Build(List, int)
Section titled “Build(List, int)”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.
BuildPathHierarchy(List, List, ref int)
Section titled “BuildPathHierarchy(List, List, ref int)”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 | |
BuildTypeHierarchy(List, List, ref int)
Section titled “BuildTypeHierarchy(List, List, ref int)”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 |