Пример #1
0
 internal bool RestoreSelectedFiles(BackgroundWorker worker)
 {
     RestoreBuilder builder = new RestoreBuilder();
     if (BackupFile != null && RestoreDestination != null)
     {
         return builder.RestoreSelectedFiles(BackupFile, RestoreDestination, SelectedFiles, worker);
     }
     return false;
 }
Пример #2
0
 internal bool RestoreBackup(BackgroundWorker worker)
 {
     RestoreBuilder builder = new RestoreBuilder();
     if (RestoreDestination != null && BackupFile != null)
     {
         return builder.RestoreBackup(BackupFile.FullName, RestoreDestination, worker);
     }
     return false;
 }
Пример #3
0
 internal Dictionary<FileInfo, long> BuildIndex()
 {
     Index = new Dictionary<FileInfo, long>();
     RestoreBuilder builder = new RestoreBuilder();
     if (BackupFile != null)
     {
         Index = builder.createIndex(BackupFile.FullName);
     }
     return Index;
 }