public BackgroundWorkerService(string sitesPath, string executablePath, ILoggerFactory loggerFactory, LoggerLevel logLevel)
 {
     _executablePath = executablePath;
     _executables = new Dictionary<string, List<Executable>>();
     _executableFinder = new ExecutableFinder(sitesPath);
     _logger = loggerFactory.Create(GetType(), logLevel);
 }
Beispiel #2
0
 public BackgroundWorkerService(string sitesPath, string executablePath, ILoggerFactory loggerFactory, LoggerLevel logLevel)
 {
     _executablePath   = executablePath;
     _executables      = new Dictionary <string, List <Executable> >();
     _executableFinder = new ExecutableFinder(sitesPath);
     _logger           = loggerFactory.Create(GetType(), logLevel);
 }