public DirectoryScanner() { timer = new System.Timers.Timer(); timer.AutoReset = false; timer.Elapsed += new System.Timers.ElapsedEventHandler(timer_Elapsed); badWatcherTimer = new System.Timers.Timer(); badWatcherTimer.AutoReset = false; badWatcherTimer.Interval = CHANGE_TIMER_TIMEOUT; badWatcherTimer.Elapsed += new System.Timers.ElapsedEventHandler(badWatcherTimer_Elapsed); // Load the plugins _metadataPlugins = new List <MetaDataPluginDescriptor>(); PluginServices plg = new PluginServices(); plg.LoadMetadataPlugins(PluginTypes.MetadataPlugin, _metadataPlugins); }