コード例 #1
0
        private void raiseCountChangedEvent(int count)
        {
            var temp = ItemCountChanged;

            if (temp != null)
            {
                ItemCountChanged?.Invoke(this, new ItemCountChangedEventArgs()
                {
                    ItemCount = count
                });
            }
        }
コード例 #2
0
 private void raiseCountChangedEvent(int count)
 => ItemCountChanged?.Invoke(this, new ItemCountChangedEventArgs()
 {
     ItemCount = count
 });
コード例 #3
0
 private void NotifyItemCountChanged()
 {
     ItemCountChanged?.Invoke(this, new EventArgs());
 }