/// <summary> /// 设置父节点 /// </summary> /// <param name="parent">父节点</param> public void setParent(node parent) { this.parent = parent; }
/// <summary> /// 从节点删除子节点 /// </summary> /// <param name="child">子节点</param> public void removeChildNode(node child) { this.childs.Remove(child); }