public DirectoryWatcher() { this.dataProcessor = new XMLDataProcessor(); this.pdfProcessor = new PDFProcessor(); this.CheckDirectory(); this.xmlWatcher = new FileSystemWatcher(); this.xmlWatcher.Path = Parameters_DataProcessor.XmlInboxRoot; this.xmlWatcher.IncludeSubdirectories = true; this.xmlWatcher.InternalBufferSize = 64000; this.xmlWatcher.Created += new FileSystemEventHandler(watcher_Created); }
public DirectoryWatcher() { this.dataProcessor = new XMLDataProcessor(); this.pdfProcessor = new PDFProcessor(); this.CheckDirectory(); this.xmlWatcher = new FileSystemWatcher(); this.xmlWatcher.Path = Parameters_DataProcessor.XmlInboxRoot; this.xmlWatcher.IncludeSubdirectories = true; this.xmlWatcher.InternalBufferSize = 64000; this.xmlWatcher.Created += new FileSystemEventHandler(watcher_Created); }