/// <summary> /// Appends the next node. /// </summary> /// <param name="nextNode">Next node.</param> public void AppendNextNode(BaseNode nextNode) { Debug.Assert(null != nextNode); //TODO: throw exceptions nextNode.Prev = this; this.Next = nextNode; }