Class SerialWriteLine
Represents an operator that writes the text representation of each element of the sequence to a serial port.
public class SerialWriteLine : Sink
- Inheritance
-
SerialWriteLine
- Inherited Members
Properties
NewLine
Gets or sets the separator used to terminate lines sent to the serial port.
public string NewLine { get; set; }
Property Value
PortName
Gets or sets the name of the serial port.
[TypeConverter(typeof(PortNameConverter))]
public string PortName { get; set; }
Property Value
Methods
Process<TSource>(IObservable<TSource>)
Writes the text representation of each element of an observable sequence to a serial port.
public override IObservable<TSource> Process<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence containing the elements to write to the serial port.
Returns
- IObservable<TSource>
An observable sequence that is identical to the
source
sequence but where there is an additional side effect of writing the elements to the serial port.
Type Parameters
TSource
The type of the elements in the
source
sequence.