Пример #1
0
        public void Add(SharedTask item)
        {
            this.Items.Add(item);

            if (this.CollectionChanged != null)
            {
                this.CollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, item));
            }
        }
Пример #2
0
 public void Remove(SharedTask item)
 {
     this.Items.Remove(item);
 }