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); } }
protected virtual void FireSavedEvents() { if (this.Saved != null) { var args = new BiggyEventArgs <T>(); args.Items = _items; this.Saved.Invoke(this, args); } }
protected virtual void FireUpdatedEvents(T item) { if (this.ItemUpdated != null) { var args = new BiggyEventArgs <T>(); args.Item = item; this.ItemUpdated.Invoke(this, args); } }