static protected SortedList <string, WidgetName> xml2NamesList(XmlDocument doc) { XmlNode root = doc.DocumentElement; IEnumerator ienum = root.GetEnumerator(); XmlNode fileXml; SortedList <string, WidgetName> table = new SortedList <string, WidgetName>(); while (ienum.MoveNext()) { fileXml = (XmlNode)ienum.Current; WidgetName info = WidgetBrowserAdmin.xml2NameInfo(fileXml); table.Add(info.Name, info); } return(table); }
/// END OF DELETE /// public SortedList <string, WidgetName> getNames() { XmlDocument xml = this.doRequestXml(m_baseAdminUrlPoint + "m=0"); return(WidgetBrowserAdmin.xml2NamesList(xml)); }