Exemple #1
0
 /// <summary>
 /// Performs additional custom processes
 /// </summary>
 protected override void OnClear()
 {
     base.OnClear();
     // detach all items
     foreach (RssItem item in List)
     {
         DetachItem(item);
     }
     // Dirty state
     if (_parent != null)
     {
         _parent.OnSubItemPropertyChanged(_parent, new System.ComponentModel.PropertyChangedEventArgs(RssChannel.Fields.Items));
     }
 }