public void RemoveNode(TreeKernel child) { }
public void AddNode(TreeKernel child, int position) { }
public void AddNode(TreeKernel child) { }
/// <summary> /// Removes the first occurence of the node. /// </summary> /// <param name="child">The child.</param> public void RemoveNode(TreeKernel child) { children.Remove(child); }
/// <summary> /// Adds the node to the specified index. /// </summary> /// <param name="child">The child node to be added.</param> /// <param name="position">The position to insert the node.</param> public void AddNode(TreeKernel child, int position) { children.Insert(position, child); }
/// <summary> /// Adds the specified node. /// Nodes should not be added more than once /// </summary> /// <param name="child">The child to be added.</param> public void AddNode(TreeKernel child) { children.Add(child); }