Code reformat.

This commit is contained in:
2019-11-25 00:54:31 +00:00
parent 2e73c622cf
commit 16f61defb8
5 changed files with 15 additions and 11 deletions

View File

@@ -46,7 +46,7 @@ namespace DiscImageChef.CommonTypes.Metadata
public string Model { get; set; }
public short Offset { get; set; }
public int Submissions { get; set; }
[DisplayFormat(ApplyFormatInEditMode =true, DataFormatString = "{0:P0}")]
public float Agreement { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:P0}")]
public float Agreement { get; set; }
}
}

View File

@@ -40,7 +40,7 @@ namespace DiscImageChef.CommonTypes.Metadata
{
public static class MediaType
{
public static (string type, string subType) MediaTypeToString(CommonTypes.MediaType dskType)
public static(string type, string subType) MediaTypeToString(CommonTypes.MediaType dskType)
{
string discType;
string discSubType;

View File

@@ -46,18 +46,18 @@ namespace DiscImageChef.CommonTypes.Metadata
[Serializable, XmlRoot("DicResume", Namespace = "", IsNullable = false)]
public class Resume
{
[XmlArrayItem("Block")]
public List<ulong> BadBlocks;
[XmlElement(DataType = "dateTime")]
public DateTime CreationDate;
public ulong LastBlock;
[XmlElement(DataType = "dateTime")]
public DateTime LastWriteDate;
public bool Removable;
public ulong LastBlock;
public ulong NextBlock;
public bool Removable;
public bool Tape;
[XmlArrayItem("DumpTry")]
public List<DumpHardwareType> Tries;
[XmlArrayItem("Block")]
public List<ulong> BadBlocks;
}
}