示例#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)));
 }
		/// <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));
 }