Esempio n. 1
0
        public KerbalNode(string name, KerbalNode parent = null)
        {
            Name = name;
            Parent = parent;
            Values = new Dictionary<string, List<string>>();
            Children = new List<KerbalNode>();

            if (Parent != null) Parent.Children.Add(this);
        }
Esempio n. 2
0
        public KerbalNode(string name, KerbalNode parent = null)
        {
            Name     = name;
            Parent   = parent;
            Values   = new Dictionary <string, List <string> >();
            Children = new List <KerbalNode>();

            if (Parent != null)
            {
                Parent.Children.Add(this);
            }
        }