コード例 #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;
 }
コード例 #2
0
 public BackupProgress GetRestoreProgress(int tenantId)
 {
     return(BackupServiceNotifier.GetRestoreProgress(tenantId));
 }
コード例 #3
0
 public BackupProgress GetTransferProgress(int tenantId)
 {
     return(BackupServiceNotifier.GetTransferProgress(tenantId));
 }