Exemplo n.º 1
0
        private VkDocEnumItem GetVkDocEnumItem(XmlReader xml)
        {
            var item = new VkDocEnumItem {
                FullName = GetMemberName(xml, "F:")
            };

            while (xml.Read())
            {
                if (xml.NodeType == XmlNodeType.EndElement && xml.Name == "member")
                {
                    break;
                }

                if (xml.NodeType == XmlNodeType.Element && xml.Name == "summary")
                {
                    item.Summary = xml.ReadInnerXml().Trim();
                }
            }

            return(item);
        }
Exemplo n.º 2
0
        private VkDocEnumItem GetVkDocEnumItem(XmlReader xml)
        {
            var item = new VkDocEnumItem { FullName = GetMemberName(xml, "F:") };

            while (xml.Read())
            {
                if (xml.NodeType == XmlNodeType.EndElement && xml.Name == "member")
                    break;

                if (xml.NodeType == XmlNodeType.Element && xml.Name == "summary")
                    item.Summary = xml.ReadInnerXml().Trim();
            }

            return item;
        }