Create Required attribute and tag properties

This commit is contained in:
Matt Nadareski
2023-08-10 12:09:29 -04:00
parent 1557882fe1
commit fb81fd0243
89 changed files with 316 additions and 155 deletions

View File

@@ -7,12 +7,14 @@ namespace SabreTools.Models.Listxml
public class Video
{
/// <remarks>(raster|vector)</remarks>
[Required]
[XmlAttribute("screen")]
public string Screen { get; set; }
public string? Screen { get; set; }
/// <remarks>(vertical|horizontal)</remarks>
[Required]
[XmlAttribute("orientation")]
public string Orientation { get; set; }
public string? Orientation { get; set; }
/// <remarks>Numeric</remarks>
[XmlAttribute("width")]