mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Update Listxml deserialization test, fix issues
This commit is contained in:
49
SabreTools.Models/Listxml/Video.cs
Normal file
49
SabreTools.Models/Listxml/Video.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
using System.Xml;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace SabreTools.Models.Listxml
|
||||
{
|
||||
[XmlRoot("video")]
|
||||
public class Video
|
||||
{
|
||||
/// <remarks>(raster|vector)</remarks>
|
||||
[XmlAttribute("screen")]
|
||||
public string Screen { get; set; }
|
||||
|
||||
/// <remarks>(vertical|horizontal)</remarks>
|
||||
[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; }
|
||||
|
||||
#region DO NOT USE IN PRODUCTION
|
||||
|
||||
/// <remarks>Should be empty</remarks>
|
||||
[XmlAnyAttribute]
|
||||
public XmlAttribute[]? ADDITIONAL_ATTRIBUTES { get; set; }
|
||||
|
||||
/// <remarks>Should be empty</remarks>
|
||||
[XmlAnyElement]
|
||||
public object[]? ADDITIONAL_ELEMENTS { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user