WhenAnyObservableMixin.

WhenAnyObservable<TSender, TRet, T1, T2>(TSender, Expression<Func<TSender, IObservable<T1>>>, Expression<Func<TSender, IObservable<T2>>>, Func<T1, T2, TRet>) Method

Namespace
ReactiveUI
Containing Type
WhenAnyObservableMixin

Syntax

public static IObservable<TRet> WhenAnyObservable<TSender, TRet, T1, T2>(this TSender This, Expression<Func<TSender, IObservable<T1>>> obs1, Expression<Func<TSender, IObservable<T2>>> obs2, Func<T1, T2, TRet> selector) 
    where TSender : class

Type Parameters

Name Description
TSender
TRet
T1
T2

Parameters

Name Type Description
This TSender
obs1 Expression<Func<TSender, IObservable<T1>>>
obs2 Expression<Func<TSender, IObservable<T2>>>
selector Func<T1, T2, TRet>

Return Value

Type Description
IObservable<TRet>