示例#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);
            }
        }