Пример #1
0
 public FileWatcherFactory(IObservableFileSystemWatcher observableFileSystemWatcher, IRxSchedulerService rxSchedulerService, IProcessingHandler <FileInfo> fileProcessingHandler)
 {
     this.fileProcessingHandler       = fileProcessingHandler;
     this.observableFileSystemWatcher = observableFileSystemWatcher;
     this.rxSchedulerService          = rxSchedulerService;
     this.fileProcessingHandler       = fileProcessingHandler;
 }
Пример #2
0
 public MessageProcessorFactory(IBusFactory busFactory, IProcessingHandler <ProcessingMessage> messageProcessingHandler)
 {
     this.messageProcessingHandler = messageProcessingHandler;
     this.busFactory = busFactory;
 }