コード例 #1
0
ファイル: AtomEntry.cs プロジェクト: csyolen/Jarvis
 public AtomEntry(XmlNode node)
 {
     Title    = node.SelectSingleNode("title").InnerText;
     Link     = node.SelectSingleNode("link").Attributes["href"].Value;
     Summary  = node.SelectSingleNode("summary").InnerText;
     Modified = DateTime.Parse(node.SelectSingleNode("modified").InnerText);
     Issued   = DateTime.Parse(node.SelectSingleNode("issued").InnerText);
     Author   = new AtomEntryAuthor(node.SelectSingleNode("author/name").InnerText, node.SelectSingleNode("author/email").InnerText);
 }
コード例 #2
0
ファイル: AtomEntry.cs プロジェクト: csyolen/Jarvis
 public AtomEntry(XmlNode node)
 {
     Title = node.SelectSingleNode("title").InnerText;
     Link = node.SelectSingleNode("link").Attributes["href"].Value;
     Summary = node.SelectSingleNode("summary").InnerText;
     Modified = DateTime.Parse(node.SelectSingleNode("modified").InnerText);
     Issued = DateTime.Parse(node.SelectSingleNode("issued").InnerText);
     Author = new AtomEntryAuthor(node.SelectSingleNode("author/name").InnerText, node.SelectSingleNode("author/email").InnerText);
 }