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

            _reader = container.GetService <IIISEventLogReader>();
        }