Beispiel #1
0
        private VkDocProperty GetVkDocProperty(XmlReader xml)
        {
            var prop = new VkDocProperty {
                FullName = GetMemberName(xml, "P:")
            };

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

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

            return(prop);
        }
Beispiel #2
0
        private VkDocProperty GetVkDocProperty(XmlReader xml)
        {
            var prop = new VkDocProperty{FullName = GetMemberName(xml, "P:")};

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

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

            return prop;
        }