Class Pattern<TSource1, TSource2, TSource3, TSource4>
Represents a join pattern over four observable sequences.
Inherited Members
Namespace: System.Reactive.Joins
Assembly: System.Reactive.Linq.dll
Syntax
public class Pattern<TSource1, TSource2, TSource3, TSource4> : 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. |
| TSource4 | The type of the elements in the fourth source sequence. |
Methods
| Improve this Doc View SourceAnd<TSource5>(IObservable<TSource5>)
Creates a pattern that matches when all five observable sequences have an available element.
Declaration
public Pattern<TSource1, TSource2, TSource3, TSource4, TSource5> And<TSource5>(IObservable<TSource5> other)
Parameters
| Type | Name | Description |
|---|---|---|
| IObservable<TSource5> | other | Observable sequence to match with the four previous sequences. |
Returns
| Type | Description |
|---|---|
| Pattern<TSource1, TSource2, TSource3, TSource4, TSource5> | Pattern object that matches when all observable sequences have an available element. |
Type Parameters
| Name | Description |
|---|---|
| TSource5 | The type of the elements in the fifth observable sequence. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
Then<TResult>(Func<TSource1, TSource2, TSource3, TSource4, 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, TSource4, TResult> selector)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<TSource1, TSource2, TSource3, TSource4, 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 |
|