void BuildNogoTable(XmlDocument doc) { nogoTable.Clear(); nogoTable.AddEntry("YOU NOTICE NOTHING UNEXPECTED."); XmlToTables x = XmlToTables.GetInstance(); x.PopulateNogoTable(doc, nogoTable); }
void BuildStringTable(XmlDocument doc) { stringTable.Clear(); stringTable.AddEntry("YOU NOTICE NOTHING UNEXPECTED."); XmlToTables x = XmlToTables.GetInstance(); x.ParseForStrings(doc, stringTable); }
void BuildVerbTable(XmlDocument doc) { verbMap.Clear(); XmlToTables x = XmlToTables.GetInstance(); x.PopulateVerbTable(doc, verbTable); verbTable.Uppercase(); for (int i = 0; i < verbTable.GetNumEntries(); i++) { string s = verbTable.GetEntry(i); string[] verbs = s.Split(','); foreach (string v in verbs) { verbMap[v] = i; } } }