DatItem formats to own sub-namespace

This commit is contained in:
Matt Nadareski
2021-02-02 10:23:43 -08:00
parent 11fd354a47
commit c54b35db92
76 changed files with 79 additions and 42 deletions

View File

@@ -6,6 +6,7 @@ using System.Xml.Serialization;
using SabreTools.Core;
using SabreTools.Core.Tools;
using SabreTools.DatItems.Formats;
using SabreTools.FileTypes;
using SabreTools.Logging;
using NaturalSort;

View File

@@ -4,7 +4,7 @@ using System.Xml.Serialization;
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents which Adjuster(s) is associated with a set

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents a single analog item

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents generic archive files to be included in a set

View File

@@ -5,7 +5,7 @@ using Newtonsoft.Json;
/// <summary>
/// This holds all of the auxiliary types needed for proper parsing
/// </summary>
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
#region DatItem

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents which BIOS(es) is associated with a set

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents a blank set from an input DAT

View File

@@ -4,7 +4,7 @@ using SabreTools.Core;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents which Chip(s) is associated with a set

View File

@@ -4,7 +4,7 @@ using SabreTools.Core;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents a condition on a machine or other item

View File

@@ -4,7 +4,7 @@ using System.Xml.Serialization;
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents which Configuration(s) is associated with a set

View File

@@ -4,7 +4,7 @@ using SabreTools.Core;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents control for an input

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// SoftwareList dataarea information

View File

@@ -5,7 +5,7 @@ using SabreTools.Core;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents a single device on the machine

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents which Device Reference(s) is associated with a set

View File

@@ -4,7 +4,7 @@ using System.Xml.Serialization;
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents which DIP Switch(es) is associated with a set

View File

@@ -6,7 +6,7 @@ using SabreTools.FileTypes;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents Compressed Hunks of Data (CHD) formatted disks which use internal hashes

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// SoftwareList diskarea information

View File

@@ -4,7 +4,7 @@ using SabreTools.Core;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents one machine display

View File

@@ -4,7 +4,7 @@ using SabreTools.Core;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents the a driver of the machine

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents a matchable extension

View File

@@ -4,7 +4,7 @@ using SabreTools.Core;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents the a feature of the machine

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents special information about a machine

View File

@@ -4,7 +4,7 @@ using System.Xml.Serialization;
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents one ListXML input

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents a single instance of another item

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents one conflocation or diplocation

View File

@@ -6,7 +6,7 @@ using SabreTools.Core.Tools;
using SabreTools.FileTypes;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents Aaruformat images which use internal hashes

View File

@@ -4,7 +4,7 @@ using System.Xml.Serialization;
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// SoftwareList part information

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents one part feature object

View File

@@ -4,7 +4,7 @@ using System.Xml.Serialization;
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents a single port on a machine

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents which RAM option(s) is associated with a set

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents release information about a set

View File

@@ -9,7 +9,7 @@ using SabreTools.FileTypes;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents a generic file within a set

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents a (usually WAV-formatted) sample to be included for use in the set

View File

@@ -4,7 +4,7 @@ using System.Xml.Serialization;
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents one ListXML confsetting or dipvalue

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents one shared feature object

View File

@@ -4,7 +4,7 @@ using System.Xml.Serialization;
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents which Slot(s) is associated with a set

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents one ListXML slotoption

View File

@@ -4,7 +4,7 @@ using SabreTools.Core;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents which SoftwareList(s) is associated with a set

View File

@@ -3,7 +3,7 @@
using SabreTools.Core;
using Newtonsoft.Json;
namespace SabreTools.DatItems
namespace SabreTools.DatItems.Formats
{
/// <summary>
/// Represents the sound output for a machine