* DiscImageChef.Console/DicConsole.cs:

Added methods without formatting.

	* DiscImageChef.Decoders/ATA.cs:
	  Typo.

	* DiscImageChef.Decoders/SCSI.cs:
	  Don't try to decode Version Descriptors if there are none.
	Also there are devices on the wild with less than 8 VDs.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Use a format-less output.
This commit is contained in:
2015-10-19 01:37:23 +01:00
parent e9e55162d9
commit b661febe57
7 changed files with 1474 additions and 1421 deletions

View File

@@ -156,6 +156,31 @@ namespace DiscImageChef.Console
if (DebugWriteEvent != null)
DebugWriteEvent("", null);
}
public static void WriteLine(string format)
{
if (WriteLineEvent != null)
WriteLineEvent(format, null);
}
public static void ErrorWriteLine(string format)
{
if (ErrorWriteLineEvent != null)
ErrorWriteLineEvent(format, null);
}
public static void VerboseWriteLine(string format)
{
if (VerboseWriteLineEvent != null)
VerboseWriteLineEvent(format, null);
}
public static void DebugWriteLine(string module, string format)
{
if (DebugWriteLineEvent != null)
DebugWriteLineEvent("DEBUG (" + module + "): " + format, null);
}
}
}