mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Convert to lambda expression.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user