Method Generate
Generate()
Reads a sequence of characters delimited by a new line separator from the serial port.
public override IObservable<string> Generate()
Returns
- IObservable<string>
A sequence of string values representing each of the lines read from the serial port.
Generate<TSource>(IObservable<TSource>)
Reads a sequence of lines from a serial port, where each new line is read only when an observable sequence emits a notification.
public IObservable<string> Generate<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence containing the notifications used for reading new lines from the serial port.
Returns
- IObservable<string>
A sequence of string values representing each of the lines read from the serial port for each corresponding notification.
Type Parameters
TSource
The type of the elements in the
source
sequence.