V1/Cet.Develop.NETMF.IO/Ports/SerialPortExtensions.cs
/// <summary>
/// Return a concrete implementation of a serial port listener
/// </summary>
/// <param name="port"></param>
/// <param name="protocol"></param>
/// <returns></returns>
Return a concrete implementation of a serial port listener
Return a concrete implementation of a serial port listener
public static ICommServer GetListener(
            this 
            SerialPort port,
            IProtocol protocol)
        {
            return new SerialPortServer(
                port,
                protocol);
        }
public static ICommServer GetListener ( this SerialPort port , IProtocol protocol ) { return new SerialPortServer ( port , protocol ) ; }
Return a concrete implementation of a serial port listener
Return a concrete implementation of a serial port listener
None
SerialPort
this
protocol
IProtocol
None
port
None