public DirectoryWatcher(string directory) { filesLock = new SafeReaderWriterLock(); files = new ConcurrentDictionary <string, EventHandler>(); this.directory = directory; pendingFileReloads = new List <string>(); InitWatcher(directory); }
public DirectoryWatcher(string directory) { filesLock = new SafeReaderWriterLock(); files = new Dictionary<string, EventHandler>(); this.directory = directory; pendingFileReloads = new List<string>(); InitWatcher(directory); }