Beispiel #1
0
 public BackupService(
     IOptionsMonitor <ILog> options,
     BackupStorageFactory backupStorageFactory,
     BackupWorker backupWorker,
     BackupRepository backupRepository,
     BackupServiceNotifier backupServiceNotifier,
     IConfiguration configuration)
 {
     Log = options.CurrentValue;
     BackupStorageFactory  = backupStorageFactory;
     BackupWorker          = backupWorker;
     BackupRepository      = backupRepository;
     BackupServiceNotifier = backupServiceNotifier;
     Configuration         = configuration;
 }
Beispiel #2
0
 public BackupProgress GetRestoreProgress(int tenantId)
 {
     return(BackupServiceNotifier.GetRestoreProgress(tenantId));
 }
Beispiel #3
0
 public BackupProgress GetTransferProgress(int tenantId)
 {
     return(BackupServiceNotifier.GetTransferProgress(tenantId));
 }