Beispiel #1
0
        public ClassLookup()
        {
            _classes = new Dictionary <string, string>();

            XmlElement xmlClasses = QueryClass.GetClassList().GetContent().BaseElement;

            foreach (XmlElement each in xmlClasses.SelectNodes("Class"))
            {
                string className = each.SelectSingleNode("ClassName").InnerText;
                string classId   = each.GetAttribute("ID");

                _classes.Add(className, classId);
            }
        }