protected override bool OnStart() { if (string.IsNullOrWhiteSpace(_directory)) { _logger.Warn("File pickup directory not configured, module will not be started"); return(false); } _directoryMonitor.Start(); _logger.Verbose("Importer module running"); return(true); }