- implement iDriver

master
Simon G 5 years ago
parent a0632d4a7e
commit a3fa6b4562
  1. 5
      Lib.Driver/Xml/XmlDriver.cs

@ -4,14 +4,15 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Xml.Serialization; using System.Xml.Serialization;
using Lib.Driver.Interfaces;
namespace Lib.Driver.Xml namespace Lib.Driver.Xml
{ {
[XmlRoot("MidiDevice")] [XmlRoot("MidiDevice")]
public class XmlDriver public class XmlDriver : IDriver
{ {
[XmlArray("Channels")] [XmlArray("Channels")]
[XmlArrayItem("Channel", typeof(XmlChannel))] [XmlArrayItem("Channel", typeof(XmlChannel))]
public List<XmlChannel> Channels { get; set; } public List<XmlChannel>? Channels { get; set; }
} }
} }
Loading…
Cancel
Save