public FileListDiffService( IFileHashService fileHashService, ITimeProvider timeProvider) { _fileHashService = fileHashService; _timeProvider = timeProvider; }
/// <summary> /// Internally exposed for testing /// </summary> /// <param name="fileSystem">The IFileSystem to use</param> /// <param name="fileHashServiceFactory">The IFileHashServiceFactory to use</param> internal ScannedFileStore(IFileSystem fileSystem, IFileHashService service) { _service = service; _fileSystem = fileSystem; }
public void Setup() { _fileHashService = new FileHashService(); }
public FileCheckerMain(IFileListService fileListService, IFileHashService fileHashService) { _fileListService = fileListService; _fileHashService = fileHashService; }
public CachingFileHashService(IFileHashService fileHashService) { this.fileHashService = fileHashService; }
public HashComparer(IFileHashService fileHashService) { this.fileHashService = fileHashService; }
public DuplicateDetectionService(IFileCrawler fileCrawler, IFileHashService fileHashService) { this.fileCrawler = fileCrawler; this.fileHashService = fileHashService; }