public void recordDownloadScheduled(string jobId, DateTime scheduledAt) { DownloadDetails = new DownloadInfo(jobId, scheduledAt); IsDirty = true; }
public void beginDownload(FolderVaultMapping mapping, Func<bool> keepRunning) { if (ArchiveId != null) { string jobId = new ArchiveRetrievalJob(mapping, keepRunning, ArchiveId).run(); DownloadDetails = new DownloadInfo(jobId, DateTime.Now); IsDirty = true; } }