Esempio n. 1
0
 public UploadFolderHandler(IDbContextLocator dbContextLocator, IFolderHandler folderHandler,
                            IQueueManager queueManager, IRsyncLauncher rsyncLauncher, IW6Api api)
     : base(dbContextLocator)
 {
     _folderHandler = folderHandler;
     _queueManager  = queueManager;
     _rsyncLauncher = rsyncLauncher;
     _api           = api;
 }
Esempio n. 2
0
 public PrepareFolderHandler(IDbContextLocator dbContextLocator, IFolderHandler folderHandler,
                             IDialogManager dialogManager) : base(dbContextLocator)
 {
     _folderHandler = folderHandler;
     _dialogManager = dialogManager;
 }
Esempio n. 3
0
 public WhiteListFoldersHandler(IDbContextLocator dbContextLocator, IFolderHandler folderHandler)
     : base(dbContextLocator)
 {
     _folderHandler = folderHandler;
 }
Esempio n. 4
0
 private static void AddFolderHandler(IFolderHandler handler)
 {
     FolderHandlers.Add(handler);
     folderHandlerWeight += handler.Weight;
 }
Esempio n. 5
0
 public FolderProcessor(IFolderHandler folderHandler, IFileHandler fileHandler)
 {
     _folderHandler   = folderHandler;
     _lateFileHandler = new LateWriteFileHandler(fileHandler);
 }
Esempio n. 6
0
 public FolderProcessor()
 {
     _folderHandler = new FolderHandler();
     FileHandlerBuilder();
 }
Esempio n. 7
0
 public FolderProcessor(IFolderHandler folderHandler, IFileHandler fileHandler)
 {
     _folderHandler = folderHandler;
     _lateFileHandler = new LateWriteFileHandler(fileHandler);
 }
Esempio n. 8
0
 private static void AddFolderHandler(IFolderHandler handler)
 {
     FolderHandlers.Add(handler);
     folderHandlerWeight += handler.Weight;
 }