Beispiel #1
0
 protected virtual void FireUpdatedEvents(IEnumerable <T> items)
 {
     if (this.ItemsUpdated != null)
     {
         var args = new BiggyEventArgs <T>();
         args.Items = items.ToList();
         this.ItemsUpdated.Invoke(this, args);
     }
 }
Beispiel #2
0
 protected virtual void FireSavedEvents()
 {
     if (this.Saved != null)
     {
         var args = new BiggyEventArgs <T>();
         args.Items = _items;
         this.Saved.Invoke(this, args);
     }
 }
Beispiel #3
0
 protected virtual void FireUpdatedEvents(T item)
 {
     if (this.ItemUpdated != null)
     {
         var args = new BiggyEventArgs <T>();
         args.Item = item;
         this.ItemUpdated.Invoke(this, args);
     }
 }