mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-19 12:43:17 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
25 lines
592 B
C#
25 lines
592 B
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace SabreTools.Data.Models.Listxml
|
|
{
|
|
[XmlRoot("mame")]
|
|
public class Mame
|
|
{
|
|
[XmlAttribute("build")]
|
|
public string? Build { get; set; }
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
[XmlAttribute("debug")]
|
|
public string? Debug { get; set; }
|
|
|
|
[Required]
|
|
[XmlAttribute("mameconfig")]
|
|
public string? MameConfig { get; set; }
|
|
|
|
[XmlElement("machine", typeof(Machine))]
|
|
[XmlElement("game", typeof(Game))]
|
|
public GameBase[]? Game { get; set; }
|
|
}
|
|
}
|