public ObjectBuildTreeEntry AddChild(ObjectBuildRecord child) { var newEntry = new ObjectBuildTreeEntry(this, child, _depth + 1); _children.Add(newEntry); return(newEntry); }
public ObjectBuildTreeEntry(ObjectBuildTreeEntry parent, ObjectBuildRecord record, int depth) { _parent = parent; _record = record; _depth = depth; }