Qbservable

Qbservable.When<TResult> Method (IQbservableProvider, IEnumerable<QueryablePlan<TResult>>)

Joins together the results from several patterns.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function When(Of TResult) ( _
    provider As IQbservableProvider, _
    plans As IEnumerable(Of QueryablePlan(Of TResult)) _
) As IQbservable(Of TResult)
'Usage
Dim provider As IQbservableProvider
Dim plans As IEnumerable(Of QueryablePlan(Of TResult))
Dim returnValue As IQbservable(Of TResult)

returnValue = provider.When(plans)
public static IQbservable<TResult> When<TResult>(
    this IQbservableProvider provider,
    IEnumerable<QueryablePlan<TResult>> plans
)
[ExtensionAttribute]
public:
generic<typename TResult>
static IQbservable<TResult>^ When(
    IQbservableProvider^ provider, 
    IEnumerable<QueryablePlan<TResult>^>^ plans
)
static member When : 
        provider:IQbservableProvider * 
        plans:IEnumerable<QueryablePlan<'TResult>> -> IQbservable<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TResult
    The type of result.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<TResult>
The results from several patterns.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservableProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

When Overload

System.Reactive.Linq Namespace

Qbservable.When<TResult> Method (IQbservableProvider, array<QueryablePlan<TResult>[])

Joins together the results from several patterns.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function When(Of TResult) ( _
    provider As IQbservableProvider, _
    ParamArray plans As QueryablePlan(Of TResult)() _
) As IQbservable(Of TResult)
'Usage
Dim provider As IQbservableProvider
Dim plans As QueryablePlan(Of TResult)()
Dim returnValue As IQbservable(Of TResult)

returnValue = provider.When(plans)
public static IQbservable<TResult> When<TResult>(
    this IQbservableProvider provider,
    params QueryablePlan<TResult>[] plans
)
[ExtensionAttribute]
public:
generic<typename TResult>
static IQbservable<TResult>^ When(
    IQbservableProvider^ provider, 
    ... array<QueryablePlan<TResult>^>^ plans
)
static member When : 
        provider:IQbservableProvider * 
        plans:QueryablePlan<'TResult>[] -> IQbservable<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TResult
    The type of result.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<TResult>
The results from several patterns.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservableProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

When Overload

System.Reactive.Linq Namespace