상속: IFileHandler
예제 #1
0
 public bool CompleteSych(int[] notToWrite)
 {
     if (_synchInProgres)
     {
         _synchInProgres = false;
         _lateFileHandler.WriteFiles(notToWrite);
         _lateFileHandler = null;
         return true;
     }
     return false;
 }
예제 #2
0
        private void FileHandlerBuilder()
        {
            var fileHandler = new Id3LibFileHandler();

            _lateFileHandler = new LateWriteFileHandler(fileHandler);
        }
예제 #3
0
 public FolderProcessor(IFolderHandler folderHandler, IFileHandler fileHandler)
 {
     _folderHandler   = folderHandler;
     _lateFileHandler = new LateWriteFileHandler(fileHandler);
 }
예제 #4
0
 private void FileHandlerBuilder()
 {
     var fileHandler = new Id3LibFileHandler();
     _lateFileHandler = new LateWriteFileHandler(fileHandler);
 }
예제 #5
0
 public FolderProcessor(IFolderHandler folderHandler, IFileHandler fileHandler)
 {
     _folderHandler = folderHandler;
     _lateFileHandler = new LateWriteFileHandler(fileHandler);
 }