private void raiseCountChangedEvent(int count) { var temp = ItemCountChanged; if (temp != null) { ItemCountChanged?.Invoke(this, new ItemCountChangedEventArgs() { ItemCount = count }); } }
private void raiseCountChangedEvent(int count) => ItemCountChanged?.Invoke(this, new ItemCountChangedEventArgs() { ItemCount = count });
private void NotifyItemCountChanged() { ItemCountChanged?.Invoke(this, new EventArgs()); }