Skip to content

,System.Linq.Expressions.Expression})}

Qbservable.Then(IQbservable, Expression>) method

Defined in

Type: Qbservable Namespace: System.Reactive.Linq Assembly: System.Reactive.dll

Applies to

netstandard2.0

public static QueryablePlan<TResult> Then<TSource, TResult>(this IQbservable<TSource> source, Expression<Func<TSource, TResult>> selector)

Summary: Matches when the observable sequence has an available element and projects the element by invoking the selector function.

Type parameters

NameDescription
TSourceThe type of the elements in the source sequence.
TResultThe type of the elements in the result sequence, returned by the selector function.

Parameters

NameTypeDescription
source[IQbservable](#Observable sequence to apply the selector on.
selectorExpression>Selector that will be invoked for elements in the source sequence.

Returns: QueryablePlan -- Plan that produces the projected results, to be fed (with other plans) to the When operator.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource or selector is null.