Beispiel #1
0
 /// <summary>
 ///     Constructs a feed item with a required title and link. Valid RSS and Atom.
 /// </summary>
 /// <param name="title">The title of the feed item</param>
 public FeedItem(string title, string link)
     : this(title)
 {
     Feed.CheckRequiredValue(link, "link");
     Link = link;
 }
Beispiel #2
0
 /// <summary>
 ///     Constructs a feed item with a required title. Valid RSS.
 /// </summary>
 /// <param name="title">The title of the feed item</param>
 public FeedItem(string title)
 {
     Feed.CheckRequiredValue(title, "title");
     Title = title;
 }