REFACTOR: All refactor in DiscImageChef.Core.

This commit is contained in:
2017-12-21 23:00:30 +00:00
parent effdcb4e0e
commit 7f829422a8
37 changed files with 892 additions and 1143 deletions

View File

@@ -46,7 +46,7 @@ namespace DiscImageChef.Core
public void Close()
{
if(dataFs != null) dataFs.Close();
dataFs?.Close();
}
public int Read(byte[] array, int offset, int count)
@@ -92,7 +92,7 @@ namespace DiscImageChef.Core
public long Position
{
get { return dataFs.Position; }
get => dataFs.Position;
}
public static void WriteTo(string who, string outputPrefix, string outputSuffix, string what, byte[] data)