private void AddChildrenRecursive(TreeViewItem treeNode, UTinyBuildReport.TreeNode buildReportNode, int depth)
        {
            if (treeNode == null || buildReportNode == null || buildReportNode.Item.Name == null)
            {
                return;
            }

            var treeItem = new UTinyBuildReportTreeViewItem(buildReportNode)
            {
                depth = depth,
                id    = Model.GetNewId
            };

            if (buildReportNode.Children != null)
            {
                foreach (var child in buildReportNode.Children)
                {
                    AddChildrenRecursive(treeItem, child, depth + 1);
                }
            }
            treeNode.AddChild(treeItem);
        }
 public UTinyBuildReportTreeViewItem(UTinyBuildReport.TreeNode node)
 {
     Node = node;
 }