REFACTOR: Convert to lambda expression.

This commit is contained in:
2017-12-21 17:37:14 +00:00
parent 9a404acef4
commit 3053d22b91
9 changed files with 9 additions and 9 deletions

View File

@@ -157,7 +157,7 @@ namespace DiscImageChef.Core.Devices.Scanning
uint seekPos = (uint)rnd.Next((int)results.Blocks);
aborted = false;
System.Console.CancelKeyPress += (sender, e) => { e.Cancel = aborted = true; };
System.Console.CancelKeyPress += (sender, e) => e.Cancel = aborted = true;
DicConsole.WriteLine("Reading {0} sectors at a time.", blocksToRead);