public ParseLogsForServerService(ILogFileRepository logFileRepository, IIISEventLogReader iisLogReader, ILogger logger, IRepository <LogEventToProcess> toProcessRepository) { _logFileRepository = logFileRepository; _iisLogReader = iisLogReader; _logger = logger; _toProcessRepository = toProcessRepository; }
public void Setup() { var container = IoC.Initialize(); _reader = container.GetService <IIISEventLogReader>(); }