From a3fa6b45625d8200cb0f0e3ce477be7b44cb5b9a Mon Sep 17 00:00:00 2001 From: Simon G Date: Sat, 10 Apr 2021 12:19:50 +0200 Subject: [PATCH] - implement iDriver --- Lib.Driver/Xml/XmlDriver.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Lib.Driver/Xml/XmlDriver.cs b/Lib.Driver/Xml/XmlDriver.cs index 4408e87..ea5fed8 100644 --- a/Lib.Driver/Xml/XmlDriver.cs +++ b/Lib.Driver/Xml/XmlDriver.cs @@ -4,14 +4,15 @@ using System.Collections.Generic; using System.Xml.Serialization; +using Lib.Driver.Interfaces; namespace Lib.Driver.Xml { [XmlRoot("MidiDevice")] - public class XmlDriver + public class XmlDriver : IDriver { [XmlArray("Channels")] [XmlArrayItem("Channel", typeof(XmlChannel))] - public List Channels { get; set; } + public List? Channels { get; set; } } } \ No newline at end of file