public Node Find(Node.DataNames targetName) { this.poNodeComparePlaceHolder.name = targetName; Node pNode = (Node)this.baseFind(this.poNodeComparePlaceHolder); return(pNode); }
//---------------------------------------------------------------------- // Methods //---------------------------------------------------------------------- public void Add(Node.DataNames myName, int myVal) { // base call pushes the DLink to the head of active Node pNode = (Node)this.baseAdd(); Debug.Assert(pNode != null); // now we set it with the info pNode.Set(myName, myVal); }