Exemplo n.º 1
0
 internal BackupStrategyWrapper(BackupStrategy backupStrategy, BackupCopyService backupCopyService, PageCache pageCache, Config config, BackupRecoveryService backupRecoveryService, LogProvider logProvider)
 {
     this._backupStrategy        = backupStrategy;
     this._backupCopyService     = backupCopyService;
     this._pageCache             = pageCache;
     this._config                = config;
     this._backupRecoveryService = backupRecoveryService;
     this._log = logProvider.GetLog(typeof(BackupStrategyWrapper));
 }
Exemplo n.º 2
0
 private BackupStrategyWrapper Wrap(BackupStrategy strategy, BackupCopyService copyService, PageCache pageCache, Config config, BackupRecoveryService recoveryService)
 {
     return(new BackupStrategyWrapper(strategy, copyService, pageCache, config, recoveryService, _logProvider));
 }