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.
40 lines
1.0 KiB
C#
40 lines
1.0 KiB
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace SabreTools.Data.Models.Listxml
|
|
{
|
|
[XmlRoot("video")]
|
|
public class Video
|
|
{
|
|
/// <remarks>(raster|vector)</remarks>
|
|
[Required]
|
|
[XmlAttribute("screen")]
|
|
public string? Screen { get; set; }
|
|
|
|
/// <remarks>(vertical|horizontal)</remarks>
|
|
[Required]
|
|
[XmlAttribute("orientation")]
|
|
public string? Orientation { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("width")]
|
|
public string? Width { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("height")]
|
|
public string? Height { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("aspectx")]
|
|
public string? AspectX { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("aspecty")]
|
|
public string? AspectY { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[XmlAttribute("refresh")]
|
|
public string? Refresh { get; set; }
|
|
}
|
|
}
|