Пример #1
0
 public virtual void OnAddedNew(T item)
 {
   if (_addedNewHandlers != null)
   {
     var args = new AddedNewEventArgs<T>(item);
     _addedNewHandlers(this, args);
   }
 }
Пример #2
0
        public virtual void OnAddedNew(T item)
        {
            var args = new AddedNewEventArgs <T>(item);

            if (AddedNew != null)
            {
                AddedNew(this, args);
            }
        }