SerialPortChannel.Implicit Operator
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.SerialPort.dll (version 7.0.9083)
Implicit(SerialPort to SerialPortChannel)
Converts SerialPort to SerialPortChannel.
Declaration
public static implicit operator SerialPortChannel(SerialPort port)
Parameters
Type | Name | Description |
---|---|---|
SerialPort | port | SerialPort to convert. |
Returns
Type | Description |
---|---|
SerialPortChannel | New instance of SerialPortChannel. |