1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-12 09:38:31 +00:00

Layouts - Added missing Author property

Layouts - Removed  Lighting element from xsd
This commit is contained in:
Robert 2021-04-01 10:46:19 +02:00
parent eb3b91d8d8
commit 6545c25c2d
3 changed files with 11 additions and 1 deletions

View File

@ -7,7 +7,6 @@
<xsd:element name="Description" type="xsd:string" /> <xsd:element name="Description" type="xsd:string" />
<xsd:element name="Author" type="xsd:string" /> <xsd:element name="Author" type="xsd:string" />
<xsd:element name="Type" type="xsd:string" /> <xsd:element name="Type" type="xsd:string" />
<xsd:element name="Lighting" type="xsd:string" />
<xsd:element name="Vendor" type="xsd:string" /> <xsd:element name="Vendor" type="xsd:string" />
<xsd:element name="Model" type="xsd:string" /> <xsd:element name="Model" type="xsd:string" />
<xsd:element name="Shape" type="xsd:string" /> <xsd:element name="Shape" type="xsd:string" />

View File

@ -30,6 +30,12 @@ namespace RGB.NET.Layout
[XmlElement("Description")] [XmlElement("Description")]
public string? Description { get; set; } public string? Description { get; set; }
/// <summary>
/// Gets or sets the author of the <see cref="DeviceLayout"/>.
/// </summary>
[XmlElement("Author")]
public string? Author { get; set; }
/// <summary> /// <summary>
/// Gets or sets the <see cref="RGBDeviceType"/> of the <see cref="DeviceLayout"/>. /// Gets or sets the <see cref="RGBDeviceType"/> of the <see cref="DeviceLayout"/>.
/// </summary> /// </summary>

View File

@ -15,6 +15,11 @@ namespace RGB.NET.Layout
/// </summary> /// </summary>
string? Description { get; } string? Description { get; }
/// <summary>
/// Gets or sets the author of the <see cref="IDeviceLayout"/>.
/// </summary>
public string? Author { get; }
/// <summary> /// <summary>
/// Gets or sets the <see cref="RGBDeviceType"/> of the <see cref="IDeviceLayout"/>. /// Gets or sets the <see cref="RGBDeviceType"/> of the <see cref="IDeviceLayout"/>.
/// </summary> /// </summary>