REFACTOR: All refactor in DiscImageChef.

This commit is contained in:
2017-12-21 20:15:53 +00:00
parent 4e6e8f340a
commit 5953246f19
11 changed files with 235 additions and 260 deletions

View File

@@ -182,12 +182,8 @@ namespace DiscImageChef.Commands
DicConsole.WriteLine("Media statistics");
DicConsole.WriteLine("================");
foreach(MediaStats ms in Core.Statistics.AllStats.Medias)
if(ms.real)
DicConsole.WriteLine("Media type {0} has been found {1} times in a real device.", ms.type,
ms.Value);
else
DicConsole.WriteLine("Media type {0} has been found {1} times in a media image.", ms.type,
ms.Value);
DicConsole.WriteLine("Media type {0} has been found {1} times in a {2} image.", ms.type,
ms.Value, ms.real ? "real" : "media");
DicConsole.WriteLine();
thereAreStats = true;