Layouts - Added missing Author property

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

No files matched your search

-1
View File
@@ -7,7 +7,6 @@
<xsd:element name="Description" type="xsd:string" />
<xsd:element name="Author" 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="Model" type="xsd:string" />
<xsd:element name="Shape" type="xsd:string" />
+6
View File
@@ -30,6 +30,12 @@ namespace RGB.NET.Layout
[XmlElement("Description")]
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>
/// Gets or sets the <see cref="RGBDeviceType"/> of the <see cref="DeviceLayout"/>.
/// </summary>
+5
View File
@@ -15,6 +15,11 @@ namespace RGB.NET.Layout
/// </summary>
string? Description { get; }
/// <summary>
/// Gets or sets the author of the <see cref="IDeviceLayout"/>.
/// </summary>
public string? Author { get; }
/// <summary>
/// Gets or sets the <see cref="RGBDeviceType"/> of the <see cref="IDeviceLayout"/>.
/// </summary>