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); }
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); } }