private static void ReadContent(XmlNode node, FeedContent content) { Guard.ArgumentNotNull("content", content); if (node == null) { return; } XmlAttribute type = node.Attributes["type"]; if (type != null) { content.Type = type.Value; } content.Value = node.InnerXml; }
private static void ReadContent(XmlNode node, FeedContent content) { Guard.ArgumentNotNull("content", content); if (node == null) return; XmlAttribute type = node.Attributes["type"]; if (type != null) content.Type = type.Value; content.Value = node.InnerXml; }