},System.Func{ReactiveUI.Binding.IObservedChange{--0,--2},--1},System.String,System.String,System.Int32)} },System.Linq.Expressions.Expression{System.Func{--0,--3}},System.Func{ReactiveUI.Binding.IObservedChange{--0,--2},ReactiveUI.Binding.IObservedChange{--0,--3},--1},System.String,System.String,System.String,System.Int32)} },System.Linq.Expressions.Expression{System.Func{--0,--3}},System.Linq.Expressions.Expression{System.Func{--0,--4}},System.Func{ReactiveUI.Binding.IObservedChange{--0,--2},ReactiveUI.Binding.IObservedChange{--0,--3},ReactiveUI.Binding.IObservedChange{--0,--4},--1},System.String,System.String,System.String,System.String,System.Int32)} },System.Linq.Expressions.Expression{System.Func{--0,--3}},System.Linq.Expressions.Expression{System.Func{--0,--4}},System.Linq.Expressions.Expression{System.Func{--0,--5}},System.Func{ReactiveUI.Binding.IObservedChange{--0,--2},ReactiveUI.Binding.IObservedChange{--0,--3},ReactiveUI.Binding.IObservedChange{--0,--4},ReactiveUI.Binding.IObservedChange{--0,--5},--1},System.String,System.String,System.String,System.String,System.String,System.Int32)} },System.Linq.Expressions.Expression{System.Func{--0,--3}},System.Linq.Expressions.Expression{System.Func{--0,--4}},System.Linq.Expressions.Expression{System.Func{--0,--5}},System.Linq.Expressions.Expression{System.Func{--0,--6}},System.Func{ReactiveUI.Binding.IObservedChange{--0,--2},ReactiveUI.Binding.IObservedChange{--0,--3},ReactiveUI.Binding.IObservedChange{--0,--4},ReactiveUI.Binding.IObservedChange{--0,--5},ReactiveUI.Binding.IObservedChange{--0,--6},--1},System.String,System.String,System.String,System.String,System.String,System.String,System.Int32)} },System.Linq.Expressions.Expression{System.Func{--0,--3}},System.Linq.Expressions.Expression{System.Func{--0,--4}},System.Linq.Expressions.Expression{System.Func{--0,--5}},System.Linq.Expressions.Expression{System.Func{--0,--6}},System.Linq.Expressions.Expression{System.Func{--0,--7}},System.Func{ReactiveUI.Binding.IObservedChange{--0,--2},ReactiveUI.Binding.IObservedChange{--0,--3},ReactiveUI.Binding.IObservedChange{--0,--4},ReactiveUI.Binding.IObservedChange{--0,--5},ReactiveUI.Binding.IObservedChange{--0,--6},ReactiveUI.Binding.IObservedChange{--0,--7},--1},System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Int32)} },System.Linq.Expressions.Expression{System.Func{--0,--3}},System.Linq.Expressions.Expression{System.Func{--0,--4}},System.Linq.Expressions.Expression{System.Func{--0,--5}},System.Linq.Expressions.Expression{System.Func{--0,--6}},System.Linq.Expressions.Expression{System.Func{--0,--7}},System.Linq.Expressions.Expression{System.Func{--0,--8}},System.Func{ReactiveUI.Binding.IObservedChange{--0,--2},ReactiveUI.Binding.IObservedChange{--0,--3},ReactiveUI.Binding.IObservedChange{--0,--4},ReactiveUI.Binding.IObservedChange{--0,--5},ReactiveUI.Binding.IObservedChange{--0,--6},ReactiveUI.Binding.IObservedChange{--0,--7},ReactiveUI.Binding.IObservedChange{--0,--8},--1},System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Int32)} },System.Linq.Expressions.Expression{System.Func{--0,--3}},System.Linq.Expressions.Expression{System.Func{--0,--4}},System.Linq.Expressions.Expression{System.Func{--0,--5}},System.Linq.Expressions.Expression{System.Func{--0,--6}},System.Linq.Expressions.Expression{System.Func{--0,--7}},System.Linq.Expressions.Expression{System.Func{--0,--8}},System.Linq.Expressions.Expression{System.Func{--0,--9}},System.Func{ReactiveUI.Binding.IObservedChange{--0,--2},ReactiveUI.Binding.IObservedChange{--0,--3},ReactiveUI.Binding.IObservedChange{--0,--4},ReactiveUI.Binding.IObservedChange{--0,--5},ReactiveUI.Binding.IObservedChange{--0,--6},ReactiveUI.Binding.IObservedChange{--0,--7},ReactiveUI.Binding.IObservedChange{--0,--8},ReactiveUI.Binding.IObservedChange{--0,--9},--1},System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Int32)} },System.Linq.Expressions.Expression{System.Func{--0,--3}},System.Linq.Expressions.Expression{System.Func{--0,--4}},System.Linq.Expressions.Expression{System.Func{--0,--5}},System.Linq.Expressions.Expression{System.Func{--0,--6}},System.Linq.Expressions.Expression{System.Func{--0,--7}},System.Linq.Expressions.Expression{System.Func{--0,--8}},System.Linq.Expressions.Expression{System.Func{--0,--9}},System.Linq.Expressions.Expression{System.Func{--0,--10}},System.Func{ReactiveUI.Binding.IObservedChange{--0,--2},ReactiveUI.Binding.IObservedChange{--0,--3},ReactiveUI.Binding.IObservedChange{--0,--4},ReactiveUI.Binding.IObservedChange{--0,--5},ReactiveUI.Binding.IObservedChange{--0,--6},ReactiveUI.Binding.IObservedChange{--0,--7},ReactiveUI.Binding.IObservedChange{--0,--8},ReactiveUI.Binding.IObservedChange{--0,--9},ReactiveUI.Binding.IObservedChange{--0,--10},--1},System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Int32)} },System.Linq.Expressions.Expression{System.Func{--0,--3}},System.Linq.Expressions.Expression{System.Func{--0,--4}},System.Linq.Expressions.Expression{System.Func{--0,--5}},System.Linq.Expressions.Expression{System.Func{--0,--6}},System.Linq.Expressions.Expression{System.Func{--0,--7}},System.Linq.Expressions.Expression{System.Func{--0,--8}},System.Linq.Expressions.Expression{System.Func{--0,--9}},System.Linq.Expressions.Expression{System.Func{--0,--10}},System.Linq.Expressions.Expression{System.Func{--0,--11}},System.Func{ReactiveUI.Binding.IObservedChange{--0,--2},ReactiveUI.Binding.IObservedChange{--0,--3},ReactiveUI.Binding.IObservedChange{--0,--4},ReactiveUI.Binding.IObservedChange{--0,--5},ReactiveUI.Binding.IObservedChange{--0,--6},ReactiveUI.Binding.IObservedChange{--0,--7},ReactiveUI.Binding.IObservedChange{--0,--8},ReactiveUI.Binding.IObservedChange{--0,--9},ReactiveUI.Binding.IObservedChange{--0,--10},ReactiveUI.Binding.IObservedChange{--0,--11},--1},System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Int32)} },System.Linq.Expressions.Expression{System.Func{--0,--3}},System.Linq.Expressions.Expression{System.Func{--0,--4}},System.Linq.Expressions.Expression{System.Func{--0,--5}},System.Linq.Expressions.Expression{System.Func{--0,--6}},System.Linq.Expressions.Expression{System.Func{--0,--7}},System.Linq.Expressions.Expression{System.Func{--0,--8}},System.Linq.Expressions.Expression{System.Func{--0,--9}},System.Linq.Expressions.Expression{System.Func{--0,--10}},System.Linq.Expressions.Expression{System.Func{--0,--11}},System.Linq.Expressions.Expression{System.Func{--0,--12}},System.Func{ReactiveUI.Binding.IObservedChange{--0,--2},ReactiveUI.Binding.IObservedChange{--0,--3},ReactiveUI.Binding.IObservedChange{--0,--4},ReactiveUI.Binding.IObservedChange{--0,--5},ReactiveUI.Binding.IObservedChange{--0,--6},ReactiveUI.Binding.IObservedChange{--0,--7},ReactiveUI.Binding.IObservedChange{--0,--8},ReactiveUI.Binding.IObservedChange{--0,--9},ReactiveUI.Binding.IObservedChange{--0,--10},ReactiveUI.Binding.IObservedChange{--0,--11},ReactiveUI.Binding.IObservedChange{--0,--12},--1},System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Int32)} },System.Linq.Expressions.Expression{System.Func{--0,--3}},System.Linq.Expressions.Expression{System.Func{--0,--4}},System.Linq.Expressions.Expression{System.Func{--0,--5}},System.Linq.Expressions.Expression{System.Func{--0,--6}},System.Linq.Expressions.Expression{System.Func{--0,--7}},System.Linq.Expressions.Expression{System.Func{--0,--8}},System.Linq.Expressions.Expression{System.Func{--0,--9}},System.Linq.Expressions.Expression{System.Func{--0,--10}},System.Linq.Expressions.Expression{System.Func{--0,--11}},System.Linq.Expressions.Expression{System.Func{--0,--12}},System.Linq.Expressions.Expression{System.Func{--0,--13}},System.Func{ReactiveUI.Binding.IObservedChange{--0,--2},ReactiveUI.Binding.IObservedChange{--0,--3},ReactiveUI.Binding.IObservedChange{--0,--4},ReactiveUI.Binding.IObservedChange{--0,--5},ReactiveUI.Binding.IObservedChange{--0,--6},ReactiveUI.Binding.IObservedChange{--0,--7},ReactiveUI.Binding.IObservedChange{--0,--8},ReactiveUI.Binding.IObservedChange{--0,--9},ReactiveUI.Binding.IObservedChange{--0,--10},ReactiveUI.Binding.IObservedChange{--0,--11},ReactiveUI.Binding.IObservedChange{--0,--12},ReactiveUI.Binding.IObservedChange{--0,--13},--1},System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.Int32)}
ReactiveUIBindingExtensions.WhenAny(TSender, Expression>, Func, TRet>, string, string, int) method¶
Defined in
Type: ReactiveUIBindingExtensions
Namespace: ReactiveUI.Binding
Assembly: ReactiveUI.Binding.dll
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481, net471
Overloads¶
- 1.
public static IObservable<TRet> WhenAny<TSender, TRet, T1>(this TSender sender, Expression<Func<TSender, T1>> property1, Func<IObservedChange<TSender, T1>, TRet> selector, string property1Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class - 2.
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, TRet> selector, string property1Expression = "", string property2Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class - 3.
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class - 4.
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class - 5.
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class - 6.
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class - 7.
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Expression<Func<TSender, T7>> property7, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string property7Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class - 8.
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Expression<Func<TSender, T7>> property7, Expression<Func<TSender, T8>> property8, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string property7Expression = "", string property8Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class - 9.
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Expression<Func<TSender, T7>> property7, Expression<Func<TSender, T8>> property8, Expression<Func<TSender, T9>> property9, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string property7Expression = "", string property8Expression = "", string property9Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class - 10.
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Expression<Func<TSender, T7>> property7, Expression<Func<TSender, T8>> property8, Expression<Func<TSender, T9>> property9, Expression<Func<TSender, T10>> property10, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string property7Expression = "", string property8Expression = "", string property9Expression = "", string property10Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class - 11.
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Expression<Func<TSender, T7>> property7, Expression<Func<TSender, T8>> property8, Expression<Func<TSender, T9>> property9, Expression<Func<TSender, T10>> property10, Expression<Func<TSender, T11>> property11, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string property7Expression = "", string property8Expression = "", string property9Expression = "", string property10Expression = "", string property11Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class - 12.
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Expression<Func<TSender, T7>> property7, Expression<Func<TSender, T8>> property8, Expression<Func<TSender, T9>> property9, Expression<Func<TSender, T10>> property10, Expression<Func<TSender, T11>> property11, Expression<Func<TSender, T12>> property12, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string property7Expression = "", string property8Expression = "", string property9Expression = "", string property10Expression = "", string property11Expression = "", string property12Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
1. Overload¶
Attributes: [RequiresUnreferencedCode("Runtime observation fallback uses reflection-based expression analysis.")]
public static IObservable<TRet> WhenAny<TSender, TRet, T1>(this TSender sender, Expression<Func<TSender, T1>> property1, Func<IObservedChange<TSender, T1>, TRet> selector, string property1Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
Summary: Observes 1 property on the specified sender and applies a selector to the observed changes.
Type parameters
| Name | Description |
|---|---|
TSender | The type of the sender to monitor for property changes. |
TRet | The return type of the selector. |
T1 | The type of property 1 value. |
Parameters
| Name | Type | Description |
|---|---|---|
sender | TSender | The sender instance to observe for property changes. |
property1 | Expression | An expression that selects property 1 to observe. |
selector | Func | A function that combines the observed changes into a result. |
property1Expression = "" | string | The caller argument expression for property1. Auto-populated by the compiler. |
callerFilePath = "" | string | The source file path of the caller. Auto-populated by the compiler. |
callerLineNumber = 0 | int | The source line number of the caller. Auto-populated by the compiler. |
Returns: IObservable
2. Overload¶
Attributes: [RequiresUnreferencedCode("Runtime observation fallback uses reflection-based expression analysis.")]
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, TRet> selector, string property1Expression = "", string property2Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
Summary: Observes 2 properties on the specified sender and applies a selector to the observed changes.
Type parameters
| Name | Description |
|---|---|
TSender | The type of the sender to monitor for property changes. |
TRet | The return type of the selector. |
T1 | The type of property 1 value. |
T2 | The type of property 2 value. |
Parameters
| Name | Type | Description |
|---|---|---|
sender | TSender | The sender instance to observe for property changes. |
property1 | Expression | An expression that selects property 1 to observe. |
property2 | Expression | An expression that selects property 2 to observe. |
selector | Func | A function that combines the observed changes into a result. |
property1Expression = "" | string | The caller argument expression for property1. Auto-populated by the compiler. |
property2Expression = "" | string | The caller argument expression for property2. Auto-populated by the compiler. |
callerFilePath = "" | string | The source file path of the caller. Auto-populated by the compiler. |
callerLineNumber = 0 | int | The source line number of the caller. Auto-populated by the compiler. |
Returns: IObservable
3. Overload¶
Attributes: [RequiresUnreferencedCode("Runtime observation fallback uses reflection-based expression analysis.")]
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
Summary: Observes 3 properties on the specified sender and applies a selector to the observed changes.
Type parameters
| Name | Description |
|---|---|
TSender | The type of the sender to monitor for property changes. |
TRet | The return type of the selector. |
T1 | The type of property 1 value. |
T2 | The type of property 2 value. |
T3 | The type of property 3 value. |
Parameters
| Name | Type | Description |
|---|---|---|
sender | TSender | The sender instance to observe for property changes. |
property1 | Expression | An expression that selects property 1 to observe. |
property2 | Expression | An expression that selects property 2 to observe. |
property3 | Expression | An expression that selects property 3 to observe. |
selector | Func | A function that combines the observed changes into a result. |
property1Expression = "" | string | The caller argument expression for property1. Auto-populated by the compiler. |
property2Expression = "" | string | The caller argument expression for property2. Auto-populated by the compiler. |
property3Expression = "" | string | The caller argument expression for property3. Auto-populated by the compiler. |
callerFilePath = "" | string | The source file path of the caller. Auto-populated by the compiler. |
callerLineNumber = 0 | int | The source line number of the caller. Auto-populated by the compiler. |
Returns: IObservable
4. Overload¶
Attributes: [RequiresUnreferencedCode("Runtime observation fallback uses reflection-based expression analysis.")]
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
Summary: Observes 4 properties on the specified sender and applies a selector to the observed changes.
Type parameters
| Name | Description |
|---|---|
TSender | The type of the sender to monitor for property changes. |
TRet | The return type of the selector. |
T1 | The type of property 1 value. |
T2 | The type of property 2 value. |
T3 | The type of property 3 value. |
T4 | The type of property 4 value. |
Parameters
| Name | Type | Description |
|---|---|---|
sender | TSender | The sender instance to observe for property changes. |
property1 | Expression | An expression that selects property 1 to observe. |
property2 | Expression | An expression that selects property 2 to observe. |
property3 | Expression | An expression that selects property 3 to observe. |
property4 | Expression | An expression that selects property 4 to observe. |
selector | Func | A function that combines the observed changes into a result. |
property1Expression = "" | string | The caller argument expression for property1. Auto-populated by the compiler. |
property2Expression = "" | string | The caller argument expression for property2. Auto-populated by the compiler. |
property3Expression = "" | string | The caller argument expression for property3. Auto-populated by the compiler. |
property4Expression = "" | string | The caller argument expression for property4. Auto-populated by the compiler. |
callerFilePath = "" | string | The source file path of the caller. Auto-populated by the compiler. |
callerLineNumber = 0 | int | The source line number of the caller. Auto-populated by the compiler. |
Returns: IObservable
5. Overload¶
Attributes: [RequiresUnreferencedCode("Runtime observation fallback uses reflection-based expression analysis.")]
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
Summary: Observes 5 properties on the specified sender and applies a selector to the observed changes.
Type parameters
| Name | Description |
|---|---|
TSender | The type of the sender to monitor for property changes. |
TRet | The return type of the selector. |
T1 | The type of property 1 value. |
T2 | The type of property 2 value. |
T3 | The type of property 3 value. |
T4 | The type of property 4 value. |
T5 | The type of property 5 value. |
Parameters
| Name | Type | Description |
|---|---|---|
sender | TSender | The sender instance to observe for property changes. |
property1 | Expression | An expression that selects property 1 to observe. |
property2 | Expression | An expression that selects property 2 to observe. |
property3 | Expression | An expression that selects property 3 to observe. |
property4 | Expression | An expression that selects property 4 to observe. |
property5 | Expression | An expression that selects property 5 to observe. |
selector | Func | A function that combines the observed changes into a result. |
property1Expression = "" | string | The caller argument expression for property1. Auto-populated by the compiler. |
property2Expression = "" | string | The caller argument expression for property2. Auto-populated by the compiler. |
property3Expression = "" | string | The caller argument expression for property3. Auto-populated by the compiler. |
property4Expression = "" | string | The caller argument expression for property4. Auto-populated by the compiler. |
property5Expression = "" | string | The caller argument expression for property5. Auto-populated by the compiler. |
callerFilePath = "" | string | The source file path of the caller. Auto-populated by the compiler. |
callerLineNumber = 0 | int | The source line number of the caller. Auto-populated by the compiler. |
Returns: IObservable
6. Overload¶
Attributes: [RequiresUnreferencedCode("Runtime observation fallback uses reflection-based expression analysis.")]
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
Summary: Observes 6 properties on the specified sender and applies a selector to the observed changes.
Type parameters
| Name | Description |
|---|---|
TSender | The type of the sender to monitor for property changes. |
TRet | The return type of the selector. |
T1 | The type of property 1 value. |
T2 | The type of property 2 value. |
T3 | The type of property 3 value. |
T4 | The type of property 4 value. |
T5 | The type of property 5 value. |
T6 | The type of property 6 value. |
Parameters
| Name | Type | Description |
|---|---|---|
sender | TSender | The sender instance to observe for property changes. |
property1 | Expression | An expression that selects property 1 to observe. |
property2 | Expression | An expression that selects property 2 to observe. |
property3 | Expression | An expression that selects property 3 to observe. |
property4 | Expression | An expression that selects property 4 to observe. |
property5 | Expression | An expression that selects property 5 to observe. |
property6 | Expression | An expression that selects property 6 to observe. |
selector | Func | A function that combines the observed changes into a result. |
property1Expression = "" | string | The caller argument expression for property1. Auto-populated by the compiler. |
property2Expression = "" | string | The caller argument expression for property2. Auto-populated by the compiler. |
property3Expression = "" | string | The caller argument expression for property3. Auto-populated by the compiler. |
property4Expression = "" | string | The caller argument expression for property4. Auto-populated by the compiler. |
property5Expression = "" | string | The caller argument expression for property5. Auto-populated by the compiler. |
property6Expression = "" | string | The caller argument expression for property6. Auto-populated by the compiler. |
callerFilePath = "" | string | The source file path of the caller. Auto-populated by the compiler. |
callerLineNumber = 0 | int | The source line number of the caller. Auto-populated by the compiler. |
Returns: IObservable
7. Overload¶
Attributes: [RequiresUnreferencedCode("Runtime observation fallback uses reflection-based expression analysis.")]
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Expression<Func<TSender, T7>> property7, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string property7Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
Summary: Observes 7 properties on the specified sender and applies a selector to the observed changes.
Type parameters
| Name | Description |
|---|---|
TSender | The type of the sender to monitor for property changes. |
TRet | The return type of the selector. |
T1 | The type of property 1 value. |
T2 | The type of property 2 value. |
T3 | The type of property 3 value. |
T4 | The type of property 4 value. |
T5 | The type of property 5 value. |
T6 | The type of property 6 value. |
T7 | The type of property 7 value. |
Parameters
| Name | Type | Description |
|---|---|---|
sender | TSender | The sender instance to observe for property changes. |
property1 | Expression | An expression that selects property 1 to observe. |
property2 | Expression | An expression that selects property 2 to observe. |
property3 | Expression | An expression that selects property 3 to observe. |
property4 | Expression | An expression that selects property 4 to observe. |
property5 | Expression | An expression that selects property 5 to observe. |
property6 | Expression | An expression that selects property 6 to observe. |
property7 | Expression | An expression that selects property 7 to observe. |
selector | Func | A function that combines the observed changes into a result. |
property1Expression = "" | string | The caller argument expression for property1. Auto-populated by the compiler. |
property2Expression = "" | string | The caller argument expression for property2. Auto-populated by the compiler. |
property3Expression = "" | string | The caller argument expression for property3. Auto-populated by the compiler. |
property4Expression = "" | string | The caller argument expression for property4. Auto-populated by the compiler. |
property5Expression = "" | string | The caller argument expression for property5. Auto-populated by the compiler. |
property6Expression = "" | string | The caller argument expression for property6. Auto-populated by the compiler. |
property7Expression = "" | string | The caller argument expression for property7. Auto-populated by the compiler. |
callerFilePath = "" | string | The source file path of the caller. Auto-populated by the compiler. |
callerLineNumber = 0 | int | The source line number of the caller. Auto-populated by the compiler. |
Returns: IObservable
8. Overload¶
Attributes: [RequiresUnreferencedCode("Runtime observation fallback uses reflection-based expression analysis.")]
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Expression<Func<TSender, T7>> property7, Expression<Func<TSender, T8>> property8, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string property7Expression = "", string property8Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
Summary: Observes 8 properties on the specified sender and applies a selector to the observed changes.
Type parameters
| Name | Description |
|---|---|
TSender | The type of the sender to monitor for property changes. |
TRet | The return type of the selector. |
T1 | The type of property 1 value. |
T2 | The type of property 2 value. |
T3 | The type of property 3 value. |
T4 | The type of property 4 value. |
T5 | The type of property 5 value. |
T6 | The type of property 6 value. |
T7 | The type of property 7 value. |
T8 | The type of property 8 value. |
Parameters
| Name | Type | Description |
|---|---|---|
sender | TSender | The sender instance to observe for property changes. |
property1 | Expression | An expression that selects property 1 to observe. |
property2 | Expression | An expression that selects property 2 to observe. |
property3 | Expression | An expression that selects property 3 to observe. |
property4 | Expression | An expression that selects property 4 to observe. |
property5 | Expression | An expression that selects property 5 to observe. |
property6 | Expression | An expression that selects property 6 to observe. |
property7 | Expression | An expression that selects property 7 to observe. |
property8 | Expression | An expression that selects property 8 to observe. |
selector | Func | A function that combines the observed changes into a result. |
property1Expression = "" | string | The caller argument expression for property1. Auto-populated by the compiler. |
property2Expression = "" | string | The caller argument expression for property2. Auto-populated by the compiler. |
property3Expression = "" | string | The caller argument expression for property3. Auto-populated by the compiler. |
property4Expression = "" | string | The caller argument expression for property4. Auto-populated by the compiler. |
property5Expression = "" | string | The caller argument expression for property5. Auto-populated by the compiler. |
property6Expression = "" | string | The caller argument expression for property6. Auto-populated by the compiler. |
property7Expression = "" | string | The caller argument expression for property7. Auto-populated by the compiler. |
property8Expression = "" | string | The caller argument expression for property8. Auto-populated by the compiler. |
callerFilePath = "" | string | The source file path of the caller. Auto-populated by the compiler. |
callerLineNumber = 0 | int | The source line number of the caller. Auto-populated by the compiler. |
Returns: IObservable
9. Overload¶
Attributes: [RequiresUnreferencedCode("Runtime observation fallback uses reflection-based expression analysis.")]
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Expression<Func<TSender, T7>> property7, Expression<Func<TSender, T8>> property8, Expression<Func<TSender, T9>> property9, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string property7Expression = "", string property8Expression = "", string property9Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
Summary: Observes 9 properties on the specified sender and applies a selector to the observed changes.
Type parameters
| Name | Description |
|---|---|
TSender | The type of the sender to monitor for property changes. |
TRet | The return type of the selector. |
T1 | The type of property 1 value. |
T2 | The type of property 2 value. |
T3 | The type of property 3 value. |
T4 | The type of property 4 value. |
T5 | The type of property 5 value. |
T6 | The type of property 6 value. |
T7 | The type of property 7 value. |
T8 | The type of property 8 value. |
T9 | The type of property 9 value. |
Parameters
| Name | Type | Description |
|---|---|---|
sender | TSender | The sender instance to observe for property changes. |
property1 | Expression | An expression that selects property 1 to observe. |
property2 | Expression | An expression that selects property 2 to observe. |
property3 | Expression | An expression that selects property 3 to observe. |
property4 | Expression | An expression that selects property 4 to observe. |
property5 | Expression | An expression that selects property 5 to observe. |
property6 | Expression | An expression that selects property 6 to observe. |
property7 | Expression | An expression that selects property 7 to observe. |
property8 | Expression | An expression that selects property 8 to observe. |
property9 | Expression | An expression that selects property 9 to observe. |
selector | Func | A function that combines the observed changes into a result. |
property1Expression = "" | string | The caller argument expression for property1. Auto-populated by the compiler. |
property2Expression = "" | string | The caller argument expression for property2. Auto-populated by the compiler. |
property3Expression = "" | string | The caller argument expression for property3. Auto-populated by the compiler. |
property4Expression = "" | string | The caller argument expression for property4. Auto-populated by the compiler. |
property5Expression = "" | string | The caller argument expression for property5. Auto-populated by the compiler. |
property6Expression = "" | string | The caller argument expression for property6. Auto-populated by the compiler. |
property7Expression = "" | string | The caller argument expression for property7. Auto-populated by the compiler. |
property8Expression = "" | string | The caller argument expression for property8. Auto-populated by the compiler. |
property9Expression = "" | string | The caller argument expression for property9. Auto-populated by the compiler. |
callerFilePath = "" | string | The source file path of the caller. Auto-populated by the compiler. |
callerLineNumber = 0 | int | The source line number of the caller. Auto-populated by the compiler. |
Returns: IObservable
10. Overload¶
Attributes: [RequiresUnreferencedCode("Runtime observation fallback uses reflection-based expression analysis.")]
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Expression<Func<TSender, T7>> property7, Expression<Func<TSender, T8>> property8, Expression<Func<TSender, T9>> property9, Expression<Func<TSender, T10>> property10, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string property7Expression = "", string property8Expression = "", string property9Expression = "", string property10Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
Summary: Observes 10 properties on the specified sender and applies a selector to the observed changes.
Type parameters
| Name | Description |
|---|---|
TSender | The type of the sender to monitor for property changes. |
TRet | The return type of the selector. |
T1 | The type of property 1 value. |
T2 | The type of property 2 value. |
T3 | The type of property 3 value. |
T4 | The type of property 4 value. |
T5 | The type of property 5 value. |
T6 | The type of property 6 value. |
T7 | The type of property 7 value. |
T8 | The type of property 8 value. |
T9 | The type of property 9 value. |
T10 | The type of property 10 value. |
Parameters
| Name | Type | Description |
|---|---|---|
sender | TSender | The sender instance to observe for property changes. |
property1 | Expression | An expression that selects property 1 to observe. |
property2 | Expression | An expression that selects property 2 to observe. |
property3 | Expression | An expression that selects property 3 to observe. |
property4 | Expression | An expression that selects property 4 to observe. |
property5 | Expression | An expression that selects property 5 to observe. |
property6 | Expression | An expression that selects property 6 to observe. |
property7 | Expression | An expression that selects property 7 to observe. |
property8 | Expression | An expression that selects property 8 to observe. |
property9 | Expression | An expression that selects property 9 to observe. |
property10 | Expression | An expression that selects property 10 to observe. |
selector | Func | A function that combines the observed changes into a result. |
property1Expression = "" | string | The caller argument expression for property1. Auto-populated by the compiler. |
property2Expression = "" | string | The caller argument expression for property2. Auto-populated by the compiler. |
property3Expression = "" | string | The caller argument expression for property3. Auto-populated by the compiler. |
property4Expression = "" | string | The caller argument expression for property4. Auto-populated by the compiler. |
property5Expression = "" | string | The caller argument expression for property5. Auto-populated by the compiler. |
property6Expression = "" | string | The caller argument expression for property6. Auto-populated by the compiler. |
property7Expression = "" | string | The caller argument expression for property7. Auto-populated by the compiler. |
property8Expression = "" | string | The caller argument expression for property8. Auto-populated by the compiler. |
property9Expression = "" | string | The caller argument expression for property9. Auto-populated by the compiler. |
property10Expression = "" | string | The caller argument expression for property10. Auto-populated by the compiler. |
callerFilePath = "" | string | The source file path of the caller. Auto-populated by the compiler. |
callerLineNumber = 0 | int | The source line number of the caller. Auto-populated by the compiler. |
Returns: IObservable
11. Overload¶
Attributes: [RequiresUnreferencedCode("Runtime observation fallback uses reflection-based expression analysis.")]
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Expression<Func<TSender, T7>> property7, Expression<Func<TSender, T8>> property8, Expression<Func<TSender, T9>> property9, Expression<Func<TSender, T10>> property10, Expression<Func<TSender, T11>> property11, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string property7Expression = "", string property8Expression = "", string property9Expression = "", string property10Expression = "", string property11Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
Summary: Observes 11 properties on the specified sender and applies a selector to the observed changes.
Type parameters
| Name | Description |
|---|---|
TSender | The type of the sender to monitor for property changes. |
TRet | The return type of the selector. |
T1 | The type of property 1 value. |
T2 | The type of property 2 value. |
T3 | The type of property 3 value. |
T4 | The type of property 4 value. |
T5 | The type of property 5 value. |
T6 | The type of property 6 value. |
T7 | The type of property 7 value. |
T8 | The type of property 8 value. |
T9 | The type of property 9 value. |
T10 | The type of property 10 value. |
T11 | The type of property 11 value. |
Parameters
| Name | Type | Description |
|---|---|---|
sender | TSender | The sender instance to observe for property changes. |
property1 | Expression | An expression that selects property 1 to observe. |
property2 | Expression | An expression that selects property 2 to observe. |
property3 | Expression | An expression that selects property 3 to observe. |
property4 | Expression | An expression that selects property 4 to observe. |
property5 | Expression | An expression that selects property 5 to observe. |
property6 | Expression | An expression that selects property 6 to observe. |
property7 | Expression | An expression that selects property 7 to observe. |
property8 | Expression | An expression that selects property 8 to observe. |
property9 | Expression | An expression that selects property 9 to observe. |
property10 | Expression | An expression that selects property 10 to observe. |
property11 | Expression | An expression that selects property 11 to observe. |
selector | Func | A function that combines the observed changes into a result. |
property1Expression = "" | string | The caller argument expression for property1. Auto-populated by the compiler. |
property2Expression = "" | string | The caller argument expression for property2. Auto-populated by the compiler. |
property3Expression = "" | string | The caller argument expression for property3. Auto-populated by the compiler. |
property4Expression = "" | string | The caller argument expression for property4. Auto-populated by the compiler. |
property5Expression = "" | string | The caller argument expression for property5. Auto-populated by the compiler. |
property6Expression = "" | string | The caller argument expression for property6. Auto-populated by the compiler. |
property7Expression = "" | string | The caller argument expression for property7. Auto-populated by the compiler. |
property8Expression = "" | string | The caller argument expression for property8. Auto-populated by the compiler. |
property9Expression = "" | string | The caller argument expression for property9. Auto-populated by the compiler. |
property10Expression = "" | string | The caller argument expression for property10. Auto-populated by the compiler. |
property11Expression = "" | string | The caller argument expression for property11. Auto-populated by the compiler. |
callerFilePath = "" | string | The source file path of the caller. Auto-populated by the compiler. |
callerLineNumber = 0 | int | The source line number of the caller. Auto-populated by the compiler. |
Returns: IObservable
12. Overload¶
Attributes: [RequiresUnreferencedCode("Runtime observation fallback uses reflection-based expression analysis.")]
public static IObservable<TRet> WhenAny<TSender, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this TSender sender, Expression<Func<TSender, T1>> property1, Expression<Func<TSender, T2>> property2, Expression<Func<TSender, T3>> property3, Expression<Func<TSender, T4>> property4, Expression<Func<TSender, T5>> property5, Expression<Func<TSender, T6>> property6, Expression<Func<TSender, T7>> property7, Expression<Func<TSender, T8>> property8, Expression<Func<TSender, T9>> property9, Expression<Func<TSender, T10>> property10, Expression<Func<TSender, T11>> property11, Expression<Func<TSender, T12>> property12, Func<IObservedChange<TSender, T1>, IObservedChange<TSender, T2>, IObservedChange<TSender, T3>, IObservedChange<TSender, T4>, IObservedChange<TSender, T5>, IObservedChange<TSender, T6>, IObservedChange<TSender, T7>, IObservedChange<TSender, T8>, IObservedChange<TSender, T9>, IObservedChange<TSender, T10>, IObservedChange<TSender, T11>, IObservedChange<TSender, T12>, TRet> selector, string property1Expression = "", string property2Expression = "", string property3Expression = "", string property4Expression = "", string property5Expression = "", string property6Expression = "", string property7Expression = "", string property8Expression = "", string property9Expression = "", string property10Expression = "", string property11Expression = "", string property12Expression = "", string callerFilePath = "", int callerLineNumber = 0) where TSender : class
Summary: Observes 12 properties on the specified sender and applies a selector to the observed changes.
Type parameters
| Name | Description |
|---|---|
TSender | The type of the sender to monitor for property changes. |
TRet | The return type of the selector. |
T1 | The type of property 1 value. |
T2 | The type of property 2 value. |
T3 | The type of property 3 value. |
T4 | The type of property 4 value. |
T5 | The type of property 5 value. |
T6 | The type of property 6 value. |
T7 | The type of property 7 value. |
T8 | The type of property 8 value. |
T9 | The type of property 9 value. |
T10 | The type of property 10 value. |
T11 | The type of property 11 value. |
T12 | The type of property 12 value. |
Parameters
| Name | Type | Description |
|---|---|---|
sender | TSender | The sender instance to observe for property changes. |
property1 | Expression | An expression that selects property 1 to observe. |
property2 | Expression | An expression that selects property 2 to observe. |
property3 | Expression | An expression that selects property 3 to observe. |
property4 | Expression | An expression that selects property 4 to observe. |
property5 | Expression | An expression that selects property 5 to observe. |
property6 | Expression | An expression that selects property 6 to observe. |
property7 | Expression | An expression that selects property 7 to observe. |
property8 | Expression | An expression that selects property 8 to observe. |
property9 | Expression | An expression that selects property 9 to observe. |
property10 | Expression | An expression that selects property 10 to observe. |
property11 | Expression | An expression that selects property 11 to observe. |
property12 | Expression | An expression that selects property 12 to observe. |
selector | Func | A function that combines the observed changes into a result. |
property1Expression = "" | string | The caller argument expression for property1. Auto-populated by the compiler. |
property2Expression = "" | string | The caller argument expression for property2. Auto-populated by the compiler. |
property3Expression = "" | string | The caller argument expression for property3. Auto-populated by the compiler. |
property4Expression = "" | string | The caller argument expression for property4. Auto-populated by the compiler. |
property5Expression = "" | string | The caller argument expression for property5. Auto-populated by the compiler. |
property6Expression = "" | string | The caller argument expression for property6. Auto-populated by the compiler. |
property7Expression = "" | string | The caller argument expression for property7. Auto-populated by the compiler. |
property8Expression = "" | string | The caller argument expression for property8. Auto-populated by the compiler. |
property9Expression = "" | string | The caller argument expression for property9. Auto-populated by the compiler. |
property10Expression = "" | string | The caller argument expression for property10. Auto-populated by the compiler. |
property11Expression = "" | string | The caller argument expression for property11. Auto-populated by the compiler. |
property12Expression = "" | string | The caller argument expression for property12. Auto-populated by the compiler. |
callerFilePath = "" | string | The source file path of the caller. Auto-populated by the compiler. |
callerLineNumber = 0 | int | The source line number of the caller. Auto-populated by the compiler. |
Returns: IObservable