Exemplo n.º 1
0
        private static Node NewPackageNode(string name,
                                           string fullName, IList <Node> children)
        {
            PackageNode packageNode = new PackageNode();
            Node        n           = new Node();

            n.name         = name;
            n.full_name    = fullName;
            n.package_node = packageNode;

            foreach (var c in children)
            {
                n.children.Add(c);
            }

            return(n);
        }
Exemplo n.º 2
0
        private static Node NewPackageNode(string name,
            string fullName, IList<Node> children)
        {
            PackageNode packageNode = new PackageNode();
            Node n = new Node();
            n.name = name;
            n.full_name = fullName;
            n.package_node = packageNode;

            foreach (var c in children)
            {
                n.children.Add(c);
            }

            return n;
        }