Пример #1
0
        private void readVariables(System.Xml.XmlElement root, AutoVarData avd)
        {
            foreach (var x in root.ElementsNamed("var"))
            {
                add(x.GetAttributeString("name"), x.GetFirstText());
            }

            foreach (var x in root.ElementsNamed("autovar"))
            {
                add(avd, x.GetAttributeString("type").Trim().ToLower(), x);
            }
        }