Qbservable.Merge<TSource> Method (IQbservable<TSource>, IObservable<TSource>, IScheduler)

Merges two queryable observable sequences into a single queryable observable sequence.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Merge(Of TSource) ( _
    first As IQbservable(Of TSource), _
    second As IObservable(Of TSource), _
    scheduler As IScheduler _
) As IQbservable(Of TSource)
'Usage
Dim first As IQbservable(Of TSource)
Dim second As IObservable(Of TSource)
Dim scheduler As IScheduler
Dim returnValue As IQbservable(Of TSource)

returnValue = first.Merge(second, _
    scheduler)
public static IQbservable<TSource> Merge<TSource>(
    this IQbservable<TSource> first,
    IObservable<TSource> second,
    IScheduler scheduler
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IQbservable<TSource>^ Merge(
    IQbservable<TSource>^ first, 
    IObservable<TSource>^ second, 
    IScheduler^ scheduler
)
static member Merge : 
        first:IQbservable<'TSource> * 
        second:IObservable<'TSource> * 
        scheduler:IScheduler -> IQbservable<'TSource> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The type of source.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<TSource>
The queryable observable sequence that merges the elements of the given sequences.

Usage Note

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

See Also

Reference

Qbservable Class

Merge Overload

System.Reactive.Linq Namespace