Exemplo n.º 1
0
        //Method to add delimiters takes a start delim and end delim
        public void addDeliminators(string d1, string d2, int index)
        {
            //add a node to a specified list in the list
            abLinkedList <abLinkedList <String> > .node <abLinkedList <String> > n = abDelimList.GetNode(index);
            abLinkedList <string> lst = n.nodeValue;

            lst.add(d1, d2);
        }
Exemplo n.º 2
0
        public void addTxtInfoToNode(string txt, int index1, int index2)
        {
            //get node in first list per index value
            abLinkedList <abLinkedList <String> > .node <abLinkedList <String> > n = abDelimList.GetNode(index1);
            //get list in node
            abLinkedList <string> lst = n.nodeValue;

            abLinkedList <String> .node <String> nn = lst.GetNode(index2);
            nn.setNodeValue3(txt);
        }