diff --git a/SabreTools.Helper/Objects/Dat/Archive.cs b/SabreTools.Helper/Objects/Dat/Archive.cs index 478ef2ab..dc4e88d3 100644 --- a/SabreTools.Helper/Objects/Dat/Archive.cs +++ b/SabreTools.Helper/Objects/Dat/Archive.cs @@ -17,16 +17,6 @@ namespace SabreTools.Helper.Dats _itemType = ItemType.Archive; } - /// - /// Create a new Archive object with the included information - /// - /// Name of the item, including extension - public Archive(string name) - { - _name = name; - _itemType = ItemType.Archive; - } - #endregion #region Comparision Methods diff --git a/SabreTools.Helper/Objects/Dat/BiosSet.cs b/SabreTools.Helper/Objects/Dat/BiosSet.cs index 04c16e27..3a84f6ea 100644 --- a/SabreTools.Helper/Objects/Dat/BiosSet.cs +++ b/SabreTools.Helper/Objects/Dat/BiosSet.cs @@ -39,20 +39,6 @@ namespace SabreTools.Helper.Dats _itemType = ItemType.BiosSet; } - /// - /// Create a new Sample object with the included information - /// - /// Name of the item, including extension - /// Description of the Bios set item - /// True if this is the default BIOS, false if it is not, null for undefined - public BiosSet(string name, string description, bool? @default) - { - _name = name; - _itemType = ItemType.BiosSet; - _description = description; - _default = @default; - } - #endregion #region Comparision Methods diff --git a/SabreTools.Helper/Objects/Dat/Disk.cs b/SabreTools.Helper/Objects/Dat/Disk.cs index af492997..10bf437c 100644 --- a/SabreTools.Helper/Objects/Dat/Disk.cs +++ b/SabreTools.Helper/Objects/Dat/Disk.cs @@ -50,22 +50,6 @@ namespace SabreTools.Helper.Dats _itemStatus = ItemStatus.None; } - /// - /// Create a new Disk object with the included information - /// - /// Name of the item, including extension - /// String representation of the MD5 - /// String representation of the SHA-1 - /// Status of the current item - public Disk(string name, string md5, string sha1, ItemStatus itemStatus) - { - _name = name; - _itemType = ItemType.Disk; - _md5 = md5?.ToLowerInvariant(); - _sha1 = sha1?.ToLowerInvariant(); - _itemStatus = itemStatus; - } - #endregion #region Comparision Methods diff --git a/SabreTools.Helper/Objects/Dat/Release.cs b/SabreTools.Helper/Objects/Dat/Release.cs index 7d3b14f7..19b2c343 100644 --- a/SabreTools.Helper/Objects/Dat/Release.cs +++ b/SabreTools.Helper/Objects/Dat/Release.cs @@ -55,24 +55,6 @@ namespace SabreTools.Helper.Dats _default = null; } - /// - /// Create a new Release object with the included information - /// - /// Name of the item, including extension - /// Region of the item - /// Language of the item - /// String representation of the Date - /// True if this is the default BIOS, false if it is not, null for undefined - public Release(string name, string region, string language, string date, bool? @default) - { - _name = name; - _itemType = ItemType.Release; - _region = region; - _language = language; - _date = date; - _default = @default; - } - #endregion #region Comparision Methods diff --git a/SabreTools.Helper/Objects/Dat/Rom.cs b/SabreTools.Helper/Objects/Dat/Rom.cs index 7128b539..6d503a7a 100644 --- a/SabreTools.Helper/Objects/Dat/Rom.cs +++ b/SabreTools.Helper/Objects/Dat/Rom.cs @@ -55,9 +55,16 @@ namespace SabreTools.Helper.Dats /// /// /// - public Rom(string name, string machineName) : - this(name, -1, "null", "null", "null", ItemStatus.None, null) + public Rom(string name, string machineName) { + _name = name; + _itemType = ItemType.Rom; + _size = -1; + _crc = "null"; + _md5 = "null"; + _sha1 = "null"; + _itemStatus = ItemStatus.None; + _machine = new Machine { Name = machineName, @@ -65,28 +72,6 @@ namespace SabreTools.Helper.Dats }; } - /// - /// Create a new Rom object with the included information - /// - /// Name of the item, including extension - /// Long size of the item - /// String representation of the CRC - /// String representation of the MD5 - /// String representation of the SHA-1 - /// Status of the current item - /// String representation of the Date - public Rom(string name, long size, string crc, string md5, string sha1, ItemStatus itemStatus, string date) - { - _name = name; - _itemType = ItemType.Rom; - _size = size; - _crc = crc?.ToLowerInvariant(); - _md5 = md5?.ToLowerInvariant(); - _sha1 = sha1?.ToLowerInvariant(); - _itemStatus = itemStatus; - _date = date; - } - #endregion #region Comparision Methods diff --git a/SabreTools.Helper/Objects/Dat/Sample.cs b/SabreTools.Helper/Objects/Dat/Sample.cs index 8d1776bf..c96e9fdf 100644 --- a/SabreTools.Helper/Objects/Dat/Sample.cs +++ b/SabreTools.Helper/Objects/Dat/Sample.cs @@ -17,16 +17,6 @@ namespace SabreTools.Helper.Dats _itemType = ItemType.Sample; } - /// - /// Create a new Sample object with the included information - /// - /// Name of the item, including extension - public Sample(string name) - { - _name = name; - _itemType = ItemType.Sample; - } - #endregion #region Comparision Methods