private void cleanupCompleted(object sender, FileCleanupEventArgs e) { foreach (var listItem in _viewModel.DownloadList.Where(x => x.Item.FullName == e.File.FtpListItem.FullName)) { listItem.Status = "Moved"; } }
private void cleanupFinish(FileCleanupEventArgs e) { CleanupFinished?.Invoke(this, e); }
private void cleanupBegin(FileCleanupEventArgs e) { CleanupStarted?.Invoke(this, e); }