public FileWatcherFactory(IObservableFileSystemWatcher observableFileSystemWatcher, IRxSchedulerService rxSchedulerService, IProcessingHandler <FileInfo> fileProcessingHandler) { this.fileProcessingHandler = fileProcessingHandler; this.observableFileSystemWatcher = observableFileSystemWatcher; this.rxSchedulerService = rxSchedulerService; this.fileProcessingHandler = fileProcessingHandler; }
public MessageProcessorFactory(IBusFactory busFactory, IProcessingHandler <ProcessingMessage> messageProcessingHandler) { this.messageProcessingHandler = messageProcessingHandler; this.busFactory = busFactory; }