Esempio n. 1
0
        private static void ReadAuthor(XmlNode node, FeedAuthor author)
        {
            Guard.ArgumentNotNull("author", author);

            if (node == null)
            {
                return;
            }
            XmlElement name = node["name"];

            if (name == null)
            {
                return;
            }
            author.Name = name.InnerText;
        }
Esempio n. 2
0
        private static void ReadAuthor(XmlNode node, FeedAuthor author)
        {
            Guard.ArgumentNotNull("author", author);

            if (node == null)
                return;
            XmlElement name = node["name"];
            if (name == null)
                return;
            author.Name = name.InnerText;
        }