示例#1
0
 private void OnCollectionChanged_Event(object sender, QueueCollectionChangedEventArgs <DownloadObject> e)
 {
     if (e.EnqueuedItems != null)
     {
         EnqueuedItem = e.EnqueuedItems[0];
     }
 }
示例#2
0
        private void OnQueueChanged_Event(object sender, QueueCollectionChangedEventArgs <DownloadObject> e)
        {
            Assert.True(e.EnqueuedItems != null || e.DequeuedItems != null);

            _eventFired = true;
        }