,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
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
TResult | The type of the elements in the result sequence, returned by the selector function. |
Parameters
| Name | Type | Description |
|---|---|---|
source | [IQbservable | Observable sequence to apply the selector on. |
selector | Expression | Selector that will be invoked for elements in the source sequence. |
Returns: QueryablePlan
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or selector is null. |