Exemple #1
0
 public void RemoveFromCategory(IRSSCategory category)
 {
     if (BelongsToCategories.Contains(category))
     {
         BelongsToCategories.Remove(category);
         category.RemoveFeed(this);
     }
 }
Exemple #2
0
 public void AddToCategory(IRSSCategory category)
 {
     if (!BelongsToCategories.Contains(category))
     {
         BelongsToCategories.Add(category);
         category.AddFeed(this);
     }
 }