mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Create Required attribute and tag properties
This commit is contained in:
@@ -13,12 +13,13 @@ namespace SabreTools.Models.Listxml
|
||||
[XmlAttribute("debug")]
|
||||
public string? Debug { get; set; }
|
||||
|
||||
[Required]
|
||||
[XmlAttribute("mameconfig")]
|
||||
public string MameConfig { get; set; }
|
||||
public string? MameConfig { get; set; }
|
||||
|
||||
[XmlElement("machine", typeof(Machine))]
|
||||
[XmlElement("game", typeof(Game))]
|
||||
public GameBase[] Game { get; set; }
|
||||
public GameBase[]? Game { get; set; }
|
||||
|
||||
#region DO NOT USE IN PRODUCTION
|
||||
|
||||
|
||||
Reference in New Issue
Block a user