Class DevicesConnectorUtilities
Provides methods to connect MIDI devices. More info in the
Devices connector article.
Inherited Members
Namespace: Melanchall.DryWetMidi.Multimedia
Assembly: Melanchall.DryWetMidi.dll
Syntax
public static class DevicesConnectorUtilities
Methods
Connect(IInputDevice, params IOutputDevice[])
Connects an input device to the specified output devices.
Declaration
public static DevicesConnector Connect(this IInputDevice inputDevice, params IOutputDevice[] outputDevices)
Parameters
Type | Name | Description |
---|---|---|
IInputDevice | inputDevice | Input MIDI device to connect to outputDevices . |
IOutputDevice[] | outputDevices | Output MIDI devices to connect inputDevice to. |
Returns
Type | Description |
---|---|
DevicesConnector |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | One of the following errors occurred:
|
ArgumentException | outputDevices contains null . |