Method Event
Event(IObservable<HarpMessage>, int)
Filters the elements of an observable sequence of Harp event messages based on their address.
public static IObservable<HarpMessage> Event(this IObservable<HarpMessage> source, int address)
Parameters
sourceIObservable<HarpMessage>The observable sequence whose event messages to filter.
addressintThe address to test for a match.
Returns
- IObservable<HarpMessage>
An observable sequence that contains event messages from the input sequence that match the specified
address.
Event(IObservable<HarpMessage>, int, bool)
Filters the elements of an observable sequence of Harp event messages based on their address.
public static IObservable<HarpMessage> Event(this IObservable<HarpMessage> source, int address, bool allowErrors)
Parameters
sourceIObservable<HarpMessage>The observable sequence whose event messages to filter.
addressintThe address to test for a match.
allowErrorsbooltrueto allow error messages in the filter; otherwise,false.
Returns
- IObservable<HarpMessage>
An observable sequence that contains event messages from the input sequence that match the specified
address.