using System.Xml; using System.Xml.Serialization; namespace SabreTools.Models.OpenMSX { /// /// Base class to unify the various rom types /// public abstract class RomBase { [XmlElement("start")] public string? Start { get; set; } [XmlElement("type")] public string? Type { get; set; } /// SHA-1 hash [XmlElement("hash")] public string? Hash { get; set; } [XmlElement("remark")] public string? Remark { get; set; } #region DO NOT USE IN PRODUCTION /// Should be empty [XmlAnyAttribute] public XmlAttribute[]? ADDITIONAL_ATTRIBUTES { get; set; } /// Should be empty [XmlAnyElement] public object[]? ADDITIONAL_ELEMENTS { get; set; } #endregion } }