Ejemplo n.º 1
0
        public ObjectBuildTreeEntry AddChild(ObjectBuildRecord child)
        {
            var newEntry = new ObjectBuildTreeEntry(this, child, _depth + 1);

            _children.Add(newEntry);
            return(newEntry);
        }
Ejemplo n.º 2
0
 public ObjectBuildTreeEntry(ObjectBuildTreeEntry parent, ObjectBuildRecord record, int depth)
 {
     _parent = parent;
     _record = record;
     _depth  = depth;
 }