예제 #1
0
 public void recordDownloadScheduled(string jobId, DateTime scheduledAt)
 {
     DownloadDetails = new DownloadInfo(jobId, scheduledAt);
     IsDirty = true;
 }
예제 #2
0
 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;
     }
 }