Example #1
0
 public RegionTreeNode(RegionTreeNode parent, string name)
 {
     this.Parent = parent;
     this.Name = name;
     this.Children = new List<RegionTreeNode>();
     Path = CalculatePath();
 }
Example #2
0
        internal RegionTreeNode AddChild(string regionName)
        {
            var newNode = new RegionTreeNode(this, regionName);

            Children.Add(newNode);
            return(newNode);
        }
Example #3
0
 public RegionTreeNode(RegionTreeNode parent, string name)
 {
     this.Parent   = parent;
     this.Name     = name;
     this.Children = new List <RegionTreeNode>();
     Path          = CalculatePath();
 }
Example #4
0
 internal RegionTreeNode AddChild(string regionName)
 {
     var newNode = new RegionTreeNode(this, regionName);
     Children.Add(newNode);
     return newNode;
 }