Observable.For<TSource, TResult> Method

March 22, 2012

Concatenates the observable sequences obtained by running the specified result selector for each element in source.

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

public static IObservable<TResult> For<TSource, TResult>(
	IEnumerable<TSource> source,
	Func<TSource, IObservable<TResult>> resultSelector
)

Type Parameters

TSource
TResult

Parameters

source
Type: System.Collections.Generic.IEnumerable<TSource>
resultSelector
Type: System.Func<TSource, IObservable<TResult>>

Return Value

Type: System.IObservable<TResult>
Returns IObservable<T>.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Show: