public IISW3CInputListener(Parser.IISW3CLog arguments, CancellationToken cancelToken, int pollingIntervalInSeconds = 5) : base(cancelToken, "Win32-IISLog") { _arguments = arguments; _receivedMessages = 0; _pollingIntervalInSeconds = pollingIntervalInSeconds; this.rowReader = new IisW3CRowReader(_arguments.Fields); foreach (string loc in _arguments.Location.Split(',')) { string hive = loc.Trim(); Task.Factory.StartNew(() => IISW3CWatcher(loc)); } }
public IISW3CInputListener(Parser.IISW3CLogParameters arguments, CancellationToken cancelToken, int pollingIntervalInSeconds = 5) : base(cancelToken, "Win32-IISLog") { _arguments = arguments; _receivedMessages = 0; _pollingIntervalInSeconds = pollingIntervalInSeconds; this.rowReader = new IisW3CRowReader(_arguments.Fields); foreach (string loc in _arguments.Location.Split(',')) { string hive = loc.Trim(); Task.Factory.StartNew(() => IISW3CWatcher(loc)); } }