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:
@@ -6,11 +6,13 @@ namespace SabreTools.Models.SoftwareList
|
||||
[XmlRoot("dataarea")]
|
||||
public class DataArea
|
||||
{
|
||||
[Required]
|
||||
[XmlAttribute("name")]
|
||||
public string Name { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
[Required]
|
||||
[XmlAttribute("size")]
|
||||
public string Size { get; set; }
|
||||
public string? Size { get; set; }
|
||||
|
||||
/// <remarks>(8|16|32|64) "8"</remarks>
|
||||
[XmlAttribute("width")]
|
||||
|
||||
Reference in New Issue
Block a user