예제 #1
0
 /// <summary>
 /// Removes the feed source from the list of NewsGatorFeedSources being modified by this class.
 /// </summary>
 /// <param name="source"></param>
 public void UnregisterFeedSource(NewsGatorFeedSource source)
 {
     this.FeedSources.Remove(source.NewsGatorUserName);
 }
예제 #2
0
 /// <summary>
 /// Adds the feed source to the list of NewsGatorFeedSources being modified by this class
 /// </summary>
 /// <param name="source"></param>
 public void RegisterFeedSource(NewsGatorFeedSource source)
 {
     this.FeedSources.Add(source.NewsGatorUserName, source);
 }