Beispiel #1
0
        private void OnDownloadFault(StateCommand command)
        {
            DownloadManagerCommand downloadManagerCommand = (DownloadManagerCommand)command;

            _downloadQueue.Remove(downloadManagerCommand.File.Path);

            if (Fault != null)
            {
                Fault(downloadManagerCommand.File);
            }
        }
Beispiel #2
0
        private void OnDownloadFinished(StateCommand command)
        {
            DownloadManagerCommand downloadManagerCommand = (DownloadManagerCommand)command;

            _downloadQueue.Remove(downloadManagerCommand.File.Path);

            if (Complete != null)
            {
                Complete(downloadManagerCommand.File);
            }
        }