Observable.When<TResult> Method (Plan<TResult>[])

Joins together the results from several patterns.

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


Public Shared Function When(Of TResult) ( _
    ParamArray plans As Plan(Of TResult)() _
) As IObservable(Of TResult)
Dim plans As Plan(Of TResult)()
Dim returnValue As IObservable(Of TResult)

returnValue = Observable.When(plans)
public static IObservable<TResult> When<TResult>(
    params Plan<TResult>[] plans
generic<typename TResult>
static IObservable<TResult>^ When(
    ... array<Plan<TResult>^>^ plans
static member When : 
        plans:Plan<'TResult>[] -> IObservable<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TResult
    The type of result.


Return Value

Type: System.IObservable<TResult>
The results from several patterns.

See Also


Observable Class

When Overload

System.Reactive.Linq Namespace