private TreeViewItem BuildMetricNodes(string id, string label, List <TreeViewItem> children)
        {
            TreeViewItem item = CodeMetricsTreeProvider.BuildTreeItem(id, label);

            foreach (TreeViewItem child in children)
            {
                item.Items.Add(child);
            }
            return(item);
        }
        private TreeViewItem BuildMetricNode(string id, string label, string iconName = null)
        {
            TreeViewItem item = CodeMetricsTreeProvider.BuildTreeItem(id, label, iconName);

            return(item);
        }