Class Pattern<TSource1, TSource2, TSource3>
Represents a join pattern over three observable sequences.
Inherited Members
Namespace: System.Reactive.Joins
Assembly: System.Reactive.Linq.dll
Syntax
public class Pattern<TSource1, TSource2, TSource3> : Pattern
Type Parameters
Name | Description |
---|---|
TSource1 | The type of the elements in the first source sequence. |
TSource2 | The type of the elements in the second source sequence. |
TSource3 | The type of the elements in the third source sequence. |
Methods
| Improve this Doc View SourceAnd<TSource4>(IObservable<TSource4>)
Creates a pattern that matches when all four observable sequences have an available element.
Declaration
public Pattern<TSource1, TSource2, TSource3, TSource4> And<TSource4>(IObservable<TSource4> other)
Parameters
Type | Name | Description |
---|---|---|
IObservable<TSource4> | other | Observable sequence to match with the three previous sequences. |
Returns
Type | Description |
---|---|
Pattern<TSource1, TSource2, TSource3, TSource4> | Pattern object that matches when all observable sequences have an available element. |
Type Parameters
Name | Description |
---|---|
TSource4 | The type of the elements in the fourth observable sequence. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
Then<TResult>(Func<TSource1, TSource2, TSource3, TResult>)
Matches when all observable sequences have an available element and projects the elements by invoking the selector function.
Declaration
public Plan<TResult> Then<TResult>(Func<TSource1, TSource2, TSource3, TResult> selector)
Parameters
Type | Name | Description |
---|---|---|
Func<TSource1, TSource2, TSource3, TResult> | selector | Selector that will be invoked for elements in the source sequences. |
Returns
Type | Description |
---|---|
Plan<TResult> | Plan that produces the projected results, to be fed (with other plans) to the When operator. |
Type Parameters
Name | Description |
---|---|
TResult | The type of the elements in the result sequence, returned by the selector function. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|