Exemplo n.º 1
0
        private void raiseCountChangedEvent(int count)
        {
            var temp = ItemCountChanged;

            if (temp != null)
            {
                ItemCountChanged?.Invoke(this, new ItemCountChangedEventArgs()
                {
                    ItemCount = count
                });
            }
        }
Exemplo n.º 2
0
 private void raiseCountChangedEvent(int count)
 => ItemCountChanged?.Invoke(this, new ItemCountChangedEventArgs()
 {
     ItemCount = count
 });
Exemplo n.º 3
0
 private void NotifyItemCountChanged()
 {
     ItemCountChanged?.Invoke(this, new EventArgs());
 }