public BackupManager( IFileManager source, IFileManager destination, HistoryProvider historyProvider, FileChangeValidator changeValidator, ILogger <BackupManager> logger, int concurrentFileDumpLimit = -1 ) { _source = source; _destination = destination; _historyProvider = historyProvider; _changeValidator = changeValidator; _logger = logger; _concurrentFileDumpLimit = concurrentFileDumpLimit; }
public BackupTask ( string sourceDir, string destinationDir, IFileManager sourceFs, IFileManager destinationFs, HistoryProvider historyProvider, FileChangeValidator changeValidator ) { SourceDir = sourceDir; DestinationDir = destinationDir; SourceFs = sourceFs; DestinationFs = destinationFs; HistoryProvider = historyProvider; ChangeValidator = changeValidator; }