public bool CompleteSych(int[] notToWrite) { if (_synchInProgres) { _synchInProgres = false; _lateFileHandler.WriteFiles(notToWrite); _lateFileHandler = null; return true; } return false; }
private void FileHandlerBuilder() { var fileHandler = new Id3LibFileHandler(); _lateFileHandler = new LateWriteFileHandler(fileHandler); }
public FolderProcessor(IFolderHandler folderHandler, IFileHandler fileHandler) { _folderHandler = folderHandler; _lateFileHandler = new LateWriteFileHandler(fileHandler); }