Summary
Monitor a property that is an observable, and subscribe to the most recent emitted value.
Syntax
public static IObservable<TRet> WhenAnyObservable<TSender, TRet>(this TSender sender, Expression<Func<TSender, IObservable<TRet>>> obs1, Expression<Func<TSender, IObservable<TRet>>> obs2, Expression<Func<TSender, IObservable<TRet>>> obs3, Expression<Func<TSender, IObservable<TRet>>> obs4, Expression<Func<TSender, IObservable<TRet>>> obs5, Expression<Func<TSender, IObservable<TRet>>> obs6, Expression<Func<TSender, IObservable<TRet>>> obs7, Expression<Func<TSender, IObservable<TRet>>> obs8, Expression<Func<TSender, IObservable<TRet>>> obs9, Expression<Func<TSender, IObservable<TRet>>> obs10)
where TSender : class
Type Parameters
Name |
Description |
TSender |
|
TRet |
|
Parameters
Name |
Type |
Description |
sender |
TSender |
The object where the property chain starts. |
obs1 |
Expression<Func<TSender, IObservable<TRet>>> |
The 1 property chain to reference which ends with an observable. This will be a expression pointing to a end property or field which must be an observable. |
obs2 |
Expression<Func<TSender, IObservable<TRet>>> |
The 2 property chain to reference which ends with an observable. This will be a expression pointing to a end property or field which must be an observable. |
obs3 |
Expression<Func<TSender, IObservable<TRet>>> |
The 3 property chain to reference which ends with an observable. This will be a expression pointing to a end property or field which must be an observable. |
obs4 |
Expression<Func<TSender, IObservable<TRet>>> |
The 4 property chain to reference which ends with an observable. This will be a expression pointing to a end property or field which must be an observable. |
obs5 |
Expression<Func<TSender, IObservable<TRet>>> |
The 5 property chain to reference which ends with an observable. This will be a expression pointing to a end property or field which must be an observable. |
obs6 |
Expression<Func<TSender, IObservable<TRet>>> |
The 6 property chain to reference which ends with an observable. This will be a expression pointing to a end property or field which must be an observable. |
obs7 |
Expression<Func<TSender, IObservable<TRet>>> |
The 7 property chain to reference which ends with an observable. This will be a expression pointing to a end property or field which must be an observable. |
obs8 |
Expression<Func<TSender, IObservable<TRet>>> |
The 8 property chain to reference which ends with an observable. This will be a expression pointing to a end property or field which must be an observable. |
obs9 |
Expression<Func<TSender, IObservable<TRet>>> |
The 9 property chain to reference which ends with an observable. This will be a expression pointing to a end property or field which must be an observable. |
obs10 |
Expression<Func<TSender, IObservable<TRet>>> |
The 10 property chain to reference which ends with an observable. This will be a expression pointing to a end property or field which must be an observable. |
Return Value
Type |
Description |
IObservable<TRet> |
|