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; }
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; }