private static void HandleDiskReaderStarting(object sender, DiskReaderStartingEventArgs e) { Console.WriteLine("Computed black list:"); foreach (string blackListItem in e.BlackList) { Console.WriteLine("- " + blackListItem); } }
private void HandleDiskReaderStarting(object sender, DiskReaderStartingEventArgs e) { if (e.BlackList.Count == 0) { log.WriteInfo("No blacklist entries."); return; } log.WriteInfo("Computed black list:"); foreach (string blackListItem in e.BlackList) { log.WriteInfo("- " + blackListItem); } }