Pattern<T1, T2>.Then<TResult> Method

Matches when all observable sequences have an available value and projects the values.

Namespace:  System.Reactive.Joins
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public Function Then(Of TResult) ( _
    selector As Func(Of T1, T2, TResult) _
) As Plan(Of TResult)
'Usage
Dim instance As Pattern
Dim selector As Func(Of T1, T2, TResult)
Dim returnValue As Plan(Of TResult)

returnValue = instance.Then(selector)
public Plan<TResult> Then<TResult>(
    Func<T1, T2, TResult> selector
)
public:
generic<typename TResult>
Plan<TResult>^ Then(
    Func<T1, T2, TResult>^ selector
)
member Then : 
        selector:Func<'T1, 'T2, 'TResult> -> Plan<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TResult
    The type of the return value of the selector function.

Parameters

  • selector
    Type: System.Func<T1, T2, TResult>
    The function that projects the result to the next observer.

Return Value

Type: System.Reactive.Joins.Plan<TResult>
The execution plan for join patterns.

See Also

Reference

Pattern<T1, T2> Class

System.Reactive.Joins Namespace