Export (0) Print
Expand All
Expand Minimize

Qbservable.Then(Of TSource, TResult) Method

Matches when the queryable observable sequence has an available value and projects the value.

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

'Declaration
<ExtensionAttribute> _
Public Shared Function Then(Of TSource, TResult) ( _
	source As IQbservable(Of TSource), _
	selector As Expression(Of Func(Of TSource, TResult)) _
) As QueryablePlan(Of TResult)
'Usage
Dim source As IQbservable(Of TSource)
Dim selector As Expression(Of Func(Of TSource, TResult))
Dim returnValue As QueryablePlan(Of TResult)

returnValue = source.Then(selector)

Type Parameters

TSource

The type of source.

TResult

The type of result.

Parameters

source
Type: System.Reactive.Linq.IQbservable(Of TSource)
The queryable observable source sequence.
selector
Type: System.Linq.Expressions.Expression(Of Func(Of TSource, TResult))
A transform function to apply to each source element.

Return Value

Type: System.Reactive.Joins.QueryablePlan(Of TResult)
The queryable observable sequence has an available value and projects the value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable(Of TSource). 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