Exemple #1
0
        private static void ReadGenerator(XmlNode node, FeedGenerator generator)
        {
            Guard.ArgumentNotNull("generator", generator);

            if (node == null)
            {
                return;
            }
            XmlAttribute uri = node.Attributes["uri"];

            if (uri != null)
            {
                generator.Uri = uri.Value;
            }
            generator.Name = node.InnerText;
        }
Exemple #2
0
        private static void ReadGenerator(XmlNode node, FeedGenerator generator)
        {
            Guard.ArgumentNotNull("generator", generator);

            if (node == null)
                return;
            XmlAttribute uri = node.Attributes["uri"];
            if (uri != null)
                generator.Uri = uri.Value;
            generator.Name = node.InnerText;
        }