Observable.Then<TSource, TResult> Method

March 22, 2012

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

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

public static Plan<TResult> Then<TSource, TResult>(
	this IObservable<TSource> source,
	Func<TSource, TResult> selector
)

Type Parameters

TSource
TResult

Parameters

source
Type: System.IObservable<TSource>
selector
Type: System.Func<TSource, TResult>

Return Value

Type: Microsoft.Phone.Reactive.Plan<TResult>
Returns Plan<TResult>.

Usage Note

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

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Show: