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