コード例 #1
0
 static XElement CreateItem(IRssItem item)
 {
     return(new XElement("item",
                         new XElement("title", item.Title),
                         new XElement("link", item.Link),
                         new XElement("description", item.Description),
                         new XElement("pubDate", item.PubDate),
                         new XElement("guid", item.Guid)));
 }
コード例 #2
0
		/// <summary>Determines the index of a specific item i</summary>
		public int IndexOf (IRssItem value)
		{
			return( List.IndexOf( value ) );
		}
コード例 #3
0
 /// <summary>Determines the index of a specific item i</summary>
 public int IndexOf(IRssItem value)
 {
     return(List.IndexOf(value));
 }