コード例 #1
0
 public BackupStorageFactory(ConsumerBackupStorage consumerBackupStorage, LocalBackupStorage localBackupStorage, IConfiguration configuration, DocumentsBackupStorage documentsBackupStorage, TenantManager tenantManager, DataStoreBackupStorage dataStoreBackupStorage)
 {
     Configuration          = configuration;
     DocumentsBackupStorage = documentsBackupStorage;
     DataStoreBackupStorage = dataStoreBackupStorage;
     LocalBackupStorage     = localBackupStorage;
     ConsumerBackupStorage  = consumerBackupStorage;
     TenantManager          = tenantManager;
 }
コード例 #2
0
 public BackupStorageFactory(
     ConsumerBackupStorage consumerBackupStorage,
     LocalBackupStorage localBackupStorage,
     ConfigurationExtension configuration,
     DocumentsBackupStorage documentsBackupStorage,
     TenantManager tenantManager,
     DataStoreBackupStorage dataStoreBackupStorage,
     IOptionsMonitor <ILog> options)
 {
     Configuration          = configuration;
     DocumentsBackupStorage = documentsBackupStorage;
     DataStoreBackupStorage = dataStoreBackupStorage;
     Log = options.CurrentValue;
     LocalBackupStorage    = localBackupStorage;
     ConsumerBackupStorage = consumerBackupStorage;
     TenantManager         = tenantManager;
 }