From 6545c25c2d2ce54a56a1949c10469afcd2674591 Mon Sep 17 00:00:00 2001 From: Robert Date: Thu, 1 Apr 2021 10:46:19 +0200 Subject: [PATCH] Layouts - Added missing Author property Layouts - Removed Lighting element from xsd --- Documentation/DeviceLayout.xsd | 1 - RGB.NET.Layout/DeviceLayout.cs | 6 ++++++ RGB.NET.Layout/IDeviceLayout.cs | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/DeviceLayout.xsd b/Documentation/DeviceLayout.xsd index d534089..8624cf4 100644 --- a/Documentation/DeviceLayout.xsd +++ b/Documentation/DeviceLayout.xsd @@ -7,7 +7,6 @@ - diff --git a/RGB.NET.Layout/DeviceLayout.cs b/RGB.NET.Layout/DeviceLayout.cs index f4363c8..dbcaa88 100644 --- a/RGB.NET.Layout/DeviceLayout.cs +++ b/RGB.NET.Layout/DeviceLayout.cs @@ -30,6 +30,12 @@ namespace RGB.NET.Layout [XmlElement("Description")] public string? Description { get; set; } + /// + /// Gets or sets the author of the . + /// + [XmlElement("Author")] + public string? Author { get; set; } + /// /// Gets or sets the of the . /// diff --git a/RGB.NET.Layout/IDeviceLayout.cs b/RGB.NET.Layout/IDeviceLayout.cs index 677353c..45c988d 100644 --- a/RGB.NET.Layout/IDeviceLayout.cs +++ b/RGB.NET.Layout/IDeviceLayout.cs @@ -15,6 +15,11 @@ namespace RGB.NET.Layout /// string? Description { get; } + /// + /// Gets or sets the author of the . + /// + public string? Author { get; } + /// /// Gets or sets the of the . ///