public MidiDeviceClassProviderBase(MidiPortType portType) => _portType = portType;
public MidiPortDetails(MidiPortType portType, string name, string portId) { this.PortType = portType; this.Name = name; this.PortId = portId; }
MidiPortDetails CreatePortDetails(MidiEndpoint endpoint, MidiPortType type) { return(new IOSMidiPortDetails(endpoint, type, endpoint.DisplayName, endpoint.EndpointName)); }
public IOSMidiPortDetails(MidiEndpoint endpoint, MidiPortType portType, string name, string portId) : base(portType, name, portId) { Endpoint = endpoint; }
public WindowsPortInfo(string id, MidiPortType portType, string name, int portNumber) : base(portType, name, portNumber) { Id = id; }