Export (0) Print
Expand All
Expand Minimize

Qbservable.GroupJoin(TLeft, TRight, TLeftDuration, TRightDuration, TResult) Method

Correlates the elements of two sequences based on overlapping durations, and groups the results.

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

JScript does not support generic types and methods.

Type Parameters

TLeft

The type of left.

TRight

The type of right.

TLeftDuration

The type of left duration.

TRightDuration

The type of right duration.

TResult

The type of result.

Parameters

left
Type: System.Reactive.Linq.IQbservable(TLeft)
The left queryable observable sequence to join elements for.
right
Type: System.IObservable(TRight)
The right observable sequence to join elements for.
leftDurationSelector
Type: System.Linq.Expressions.Expression(Func(TLeft, IObservable(TLeftDuration)))
A function to select the duration of each element of the left queryable observable sequence, used to determine overlap.
rightDurationSelector
Type: System.Linq.Expressions.Expression(Func(TRight, IObservable(TRightDuration)))
A function to select the duration of each element of the right queryable observable sequence, used to determine overlap.
resultSelector
Type: System.Linq.Expressions.Expression(Func(TLeft, IObservable(TRight), TResult))
A function invoked to compute a result element for any element of the left sequence with overlapping elements from the right queryable observable sequence.

Return Value

Type: System.Reactive.Linq.IQbservable(TResult)
A queryable observable sequence that contains result elements computed from source elements that have an overlapping duration.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable(TLeft). When you use instance method syntax to call this method, omit the first parameter. For more information, see http://msdn.microsoft.com/en-us/library/bb384936(v=vs.103).aspx or http://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).aspx.
Show:
© 2014 Microsoft