Skip to content

},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

View source

Summary: Observes 1 property on the specified sender and applies a selector to the observed changes.

Type parameters

NameDescription
TSenderThe type of the sender to monitor for property changes.
TRetThe return type of the selector.
T1The type of property 1 value.

Parameters

NameTypeDescription
senderTSenderThe sender instance to observe for property changes.
property1Expression>An expression that selects property 1 to observe.
selectorFunc, TRet>A function that combines the observed changes into a result.
property1Expression = ""stringThe caller argument expression for property1. Auto-populated by the compiler.
callerFilePath = ""stringThe source file path of the caller. Auto-populated by the compiler.
callerLineNumber = 0intThe source line number of the caller. Auto-populated by the compiler.

Returns: IObservable -- An observable sequence of selector results.

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

View source

Summary: Observes 2 properties on the specified sender and applies a selector to the observed changes.

Type parameters

NameDescription
TSenderThe type of the sender to monitor for property changes.
TRetThe return type of the selector.
T1The type of property 1 value.
T2The type of property 2 value.

Parameters

NameTypeDescription
senderTSenderThe sender instance to observe for property changes.
property1Expression>An expression that selects property 1 to observe.
property2Expression>An expression that selects property 2 to observe.
selectorFunc, IObservedChange, TRet>A function that combines the observed changes into a result.
property1Expression = ""stringThe caller argument expression for property1. Auto-populated by the compiler.
property2Expression = ""stringThe caller argument expression for property2. Auto-populated by the compiler.
callerFilePath = ""stringThe source file path of the caller. Auto-populated by the compiler.
callerLineNumber = 0intThe source line number of the caller. Auto-populated by the compiler.

Returns: IObservable -- An observable sequence of selector results.

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

View source

Summary: Observes 3 properties on the specified sender and applies a selector to the observed changes.

Type parameters

NameDescription
TSenderThe type of the sender to monitor for property changes.
TRetThe return type of the selector.
T1The type of property 1 value.
T2The type of property 2 value.
T3The type of property 3 value.

Parameters

NameTypeDescription
senderTSenderThe sender instance to observe for property changes.
property1Expression>An expression that selects property 1 to observe.
property2Expression>An expression that selects property 2 to observe.
property3Expression>An expression that selects property 3 to observe.
selectorFunc, IObservedChange, IObservedChange, TRet>A function that combines the observed changes into a result.
property1Expression = ""stringThe caller argument expression for property1. Auto-populated by the compiler.
property2Expression = ""stringThe caller argument expression for property2. Auto-populated by the compiler.
property3Expression = ""stringThe caller argument expression for property3. Auto-populated by the compiler.
callerFilePath = ""stringThe source file path of the caller. Auto-populated by the compiler.
callerLineNumber = 0intThe source line number of the caller. Auto-populated by the compiler.

Returns: IObservable -- An observable sequence of selector results.

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

View source

Summary: Observes 4 properties on the specified sender and applies a selector to the observed changes.

Type parameters

NameDescription
TSenderThe type of the sender to monitor for property changes.
TRetThe return type of the selector.
T1The type of property 1 value.
T2The type of property 2 value.
T3The type of property 3 value.
T4The type of property 4 value.

Parameters

NameTypeDescription
senderTSenderThe sender instance to observe for property changes.
property1Expression>An expression that selects property 1 to observe.
property2Expression>An expression that selects property 2 to observe.
property3Expression>An expression that selects property 3 to observe.
property4Expression>An expression that selects property 4 to observe.
selectorFunc, IObservedChange, IObservedChange, IObservedChange, TRet>A function that combines the observed changes into a result.
property1Expression = ""stringThe caller argument expression for property1. Auto-populated by the compiler.
property2Expression = ""stringThe caller argument expression for property2. Auto-populated by the compiler.
property3Expression = ""stringThe caller argument expression for property3. Auto-populated by the compiler.
property4Expression = ""stringThe caller argument expression for property4. Auto-populated by the compiler.
callerFilePath = ""stringThe source file path of the caller. Auto-populated by the compiler.
callerLineNumber = 0intThe source line number of the caller. Auto-populated by the compiler.

Returns: IObservable -- An observable sequence of selector results.

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

View source

Summary: Observes 5 properties on the specified sender and applies a selector to the observed changes.

Type parameters

NameDescription
TSenderThe type of the sender to monitor for property changes.
TRetThe return type of the selector.
T1The type of property 1 value.
T2The type of property 2 value.
T3The type of property 3 value.
T4The type of property 4 value.
T5The type of property 5 value.

Parameters

NameTypeDescription
senderTSenderThe sender instance to observe for property changes.
property1Expression>An expression that selects property 1 to observe.
property2Expression>An expression that selects property 2 to observe.
property3Expression>An expression that selects property 3 to observe.
property4Expression>An expression that selects property 4 to observe.
property5Expression>An expression that selects property 5 to observe.
selectorFunc, IObservedChange, IObservedChange, IObservedChange, IObservedChange, TRet>A function that combines the observed changes into a result.
property1Expression = ""stringThe caller argument expression for property1. Auto-populated by the compiler.
property2Expression = ""stringThe caller argument expression for property2. Auto-populated by the compiler.
property3Expression = ""stringThe caller argument expression for property3. Auto-populated by the compiler.
property4Expression = ""stringThe caller argument expression for property4. Auto-populated by the compiler.
property5Expression = ""stringThe caller argument expression for property5. Auto-populated by the compiler.
callerFilePath = ""stringThe source file path of the caller. Auto-populated by the compiler.
callerLineNumber = 0intThe source line number of the caller. Auto-populated by the compiler.

Returns: IObservable -- An observable sequence of selector results.

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

View source

Summary: Observes 6 properties on the specified sender and applies a selector to the observed changes.

Type parameters

NameDescription
TSenderThe type of the sender to monitor for property changes.
TRetThe return type of the selector.
T1The type of property 1 value.
T2The type of property 2 value.
T3The type of property 3 value.
T4The type of property 4 value.
T5The type of property 5 value.
T6The type of property 6 value.

Parameters

NameTypeDescription
senderTSenderThe sender instance to observe for property changes.
property1Expression>An expression that selects property 1 to observe.
property2Expression>An expression that selects property 2 to observe.
property3Expression>An expression that selects property 3 to observe.
property4Expression>An expression that selects property 4 to observe.
property5Expression>An expression that selects property 5 to observe.
property6Expression>An expression that selects property 6 to observe.
selectorFunc, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, TRet>A function that combines the observed changes into a result.
property1Expression = ""stringThe caller argument expression for property1. Auto-populated by the compiler.
property2Expression = ""stringThe caller argument expression for property2. Auto-populated by the compiler.
property3Expression = ""stringThe caller argument expression for property3. Auto-populated by the compiler.
property4Expression = ""stringThe caller argument expression for property4. Auto-populated by the compiler.
property5Expression = ""stringThe caller argument expression for property5. Auto-populated by the compiler.
property6Expression = ""stringThe caller argument expression for property6. Auto-populated by the compiler.
callerFilePath = ""stringThe source file path of the caller. Auto-populated by the compiler.
callerLineNumber = 0intThe source line number of the caller. Auto-populated by the compiler.

Returns: IObservable -- An observable sequence of selector results.

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

View source

Summary: Observes 7 properties on the specified sender and applies a selector to the observed changes.

Type parameters

NameDescription
TSenderThe type of the sender to monitor for property changes.
TRetThe return type of the selector.
T1The type of property 1 value.
T2The type of property 2 value.
T3The type of property 3 value.
T4The type of property 4 value.
T5The type of property 5 value.
T6The type of property 6 value.
T7The type of property 7 value.

Parameters

NameTypeDescription
senderTSenderThe sender instance to observe for property changes.
property1Expression>An expression that selects property 1 to observe.
property2Expression>An expression that selects property 2 to observe.
property3Expression>An expression that selects property 3 to observe.
property4Expression>An expression that selects property 4 to observe.
property5Expression>An expression that selects property 5 to observe.
property6Expression>An expression that selects property 6 to observe.
property7Expression>An expression that selects property 7 to observe.
selectorFunc, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, TRet>A function that combines the observed changes into a result.
property1Expression = ""stringThe caller argument expression for property1. Auto-populated by the compiler.
property2Expression = ""stringThe caller argument expression for property2. Auto-populated by the compiler.
property3Expression = ""stringThe caller argument expression for property3. Auto-populated by the compiler.
property4Expression = ""stringThe caller argument expression for property4. Auto-populated by the compiler.
property5Expression = ""stringThe caller argument expression for property5. Auto-populated by the compiler.
property6Expression = ""stringThe caller argument expression for property6. Auto-populated by the compiler.
property7Expression = ""stringThe caller argument expression for property7. Auto-populated by the compiler.
callerFilePath = ""stringThe source file path of the caller. Auto-populated by the compiler.
callerLineNumber = 0intThe source line number of the caller. Auto-populated by the compiler.

Returns: IObservable -- An observable sequence of selector results.

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

View source

Summary: Observes 8 properties on the specified sender and applies a selector to the observed changes.

Type parameters

NameDescription
TSenderThe type of the sender to monitor for property changes.
TRetThe return type of the selector.
T1The type of property 1 value.
T2The type of property 2 value.
T3The type of property 3 value.
T4The type of property 4 value.
T5The type of property 5 value.
T6The type of property 6 value.
T7The type of property 7 value.
T8The type of property 8 value.

Parameters

NameTypeDescription
senderTSenderThe sender instance to observe for property changes.
property1Expression>An expression that selects property 1 to observe.
property2Expression>An expression that selects property 2 to observe.
property3Expression>An expression that selects property 3 to observe.
property4Expression>An expression that selects property 4 to observe.
property5Expression>An expression that selects property 5 to observe.
property6Expression>An expression that selects property 6 to observe.
property7Expression>An expression that selects property 7 to observe.
property8Expression>An expression that selects property 8 to observe.
selectorFunc, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, TRet>A function that combines the observed changes into a result.
property1Expression = ""stringThe caller argument expression for property1. Auto-populated by the compiler.
property2Expression = ""stringThe caller argument expression for property2. Auto-populated by the compiler.
property3Expression = ""stringThe caller argument expression for property3. Auto-populated by the compiler.
property4Expression = ""stringThe caller argument expression for property4. Auto-populated by the compiler.
property5Expression = ""stringThe caller argument expression for property5. Auto-populated by the compiler.
property6Expression = ""stringThe caller argument expression for property6. Auto-populated by the compiler.
property7Expression = ""stringThe caller argument expression for property7. Auto-populated by the compiler.
property8Expression = ""stringThe caller argument expression for property8. Auto-populated by the compiler.
callerFilePath = ""stringThe source file path of the caller. Auto-populated by the compiler.
callerLineNumber = 0intThe source line number of the caller. Auto-populated by the compiler.

Returns: IObservable -- An observable sequence of selector results.

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

View source

Summary: Observes 9 properties on the specified sender and applies a selector to the observed changes.

Type parameters

NameDescription
TSenderThe type of the sender to monitor for property changes.
TRetThe return type of the selector.
T1The type of property 1 value.
T2The type of property 2 value.
T3The type of property 3 value.
T4The type of property 4 value.
T5The type of property 5 value.
T6The type of property 6 value.
T7The type of property 7 value.
T8The type of property 8 value.
T9The type of property 9 value.

Parameters

NameTypeDescription
senderTSenderThe sender instance to observe for property changes.
property1Expression>An expression that selects property 1 to observe.
property2Expression>An expression that selects property 2 to observe.
property3Expression>An expression that selects property 3 to observe.
property4Expression>An expression that selects property 4 to observe.
property5Expression>An expression that selects property 5 to observe.
property6Expression>An expression that selects property 6 to observe.
property7Expression>An expression that selects property 7 to observe.
property8Expression>An expression that selects property 8 to observe.
property9Expression>An expression that selects property 9 to observe.
selectorFunc, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, TRet>A function that combines the observed changes into a result.
property1Expression = ""stringThe caller argument expression for property1. Auto-populated by the compiler.
property2Expression = ""stringThe caller argument expression for property2. Auto-populated by the compiler.
property3Expression = ""stringThe caller argument expression for property3. Auto-populated by the compiler.
property4Expression = ""stringThe caller argument expression for property4. Auto-populated by the compiler.
property5Expression = ""stringThe caller argument expression for property5. Auto-populated by the compiler.
property6Expression = ""stringThe caller argument expression for property6. Auto-populated by the compiler.
property7Expression = ""stringThe caller argument expression for property7. Auto-populated by the compiler.
property8Expression = ""stringThe caller argument expression for property8. Auto-populated by the compiler.
property9Expression = ""stringThe caller argument expression for property9. Auto-populated by the compiler.
callerFilePath = ""stringThe source file path of the caller. Auto-populated by the compiler.
callerLineNumber = 0intThe source line number of the caller. Auto-populated by the compiler.

Returns: IObservable -- An observable sequence of selector results.

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

View source

Summary: Observes 10 properties on the specified sender and applies a selector to the observed changes.

Type parameters

NameDescription
TSenderThe type of the sender to monitor for property changes.
TRetThe return type of the selector.
T1The type of property 1 value.
T2The type of property 2 value.
T3The type of property 3 value.
T4The type of property 4 value.
T5The type of property 5 value.
T6The type of property 6 value.
T7The type of property 7 value.
T8The type of property 8 value.
T9The type of property 9 value.
T10The type of property 10 value.

Parameters

NameTypeDescription
senderTSenderThe sender instance to observe for property changes.
property1Expression>An expression that selects property 1 to observe.
property2Expression>An expression that selects property 2 to observe.
property3Expression>An expression that selects property 3 to observe.
property4Expression>An expression that selects property 4 to observe.
property5Expression>An expression that selects property 5 to observe.
property6Expression>An expression that selects property 6 to observe.
property7Expression>An expression that selects property 7 to observe.
property8Expression>An expression that selects property 8 to observe.
property9Expression>An expression that selects property 9 to observe.
property10Expression>An expression that selects property 10 to observe.
selectorFunc, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, TRet>A function that combines the observed changes into a result.
property1Expression = ""stringThe caller argument expression for property1. Auto-populated by the compiler.
property2Expression = ""stringThe caller argument expression for property2. Auto-populated by the compiler.
property3Expression = ""stringThe caller argument expression for property3. Auto-populated by the compiler.
property4Expression = ""stringThe caller argument expression for property4. Auto-populated by the compiler.
property5Expression = ""stringThe caller argument expression for property5. Auto-populated by the compiler.
property6Expression = ""stringThe caller argument expression for property6. Auto-populated by the compiler.
property7Expression = ""stringThe caller argument expression for property7. Auto-populated by the compiler.
property8Expression = ""stringThe caller argument expression for property8. Auto-populated by the compiler.
property9Expression = ""stringThe caller argument expression for property9. Auto-populated by the compiler.
property10Expression = ""stringThe caller argument expression for property10. Auto-populated by the compiler.
callerFilePath = ""stringThe source file path of the caller. Auto-populated by the compiler.
callerLineNumber = 0intThe source line number of the caller. Auto-populated by the compiler.

Returns: IObservable -- An observable sequence of selector results.

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

View source

Summary: Observes 11 properties on the specified sender and applies a selector to the observed changes.

Type parameters

NameDescription
TSenderThe type of the sender to monitor for property changes.
TRetThe return type of the selector.
T1The type of property 1 value.
T2The type of property 2 value.
T3The type of property 3 value.
T4The type of property 4 value.
T5The type of property 5 value.
T6The type of property 6 value.
T7The type of property 7 value.
T8The type of property 8 value.
T9The type of property 9 value.
T10The type of property 10 value.
T11The type of property 11 value.

Parameters

NameTypeDescription
senderTSenderThe sender instance to observe for property changes.
property1Expression>An expression that selects property 1 to observe.
property2Expression>An expression that selects property 2 to observe.
property3Expression>An expression that selects property 3 to observe.
property4Expression>An expression that selects property 4 to observe.
property5Expression>An expression that selects property 5 to observe.
property6Expression>An expression that selects property 6 to observe.
property7Expression>An expression that selects property 7 to observe.
property8Expression>An expression that selects property 8 to observe.
property9Expression>An expression that selects property 9 to observe.
property10Expression>An expression that selects property 10 to observe.
property11Expression>An expression that selects property 11 to observe.
selectorFunc, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, TRet>A function that combines the observed changes into a result.
property1Expression = ""stringThe caller argument expression for property1. Auto-populated by the compiler.
property2Expression = ""stringThe caller argument expression for property2. Auto-populated by the compiler.
property3Expression = ""stringThe caller argument expression for property3. Auto-populated by the compiler.
property4Expression = ""stringThe caller argument expression for property4. Auto-populated by the compiler.
property5Expression = ""stringThe caller argument expression for property5. Auto-populated by the compiler.
property6Expression = ""stringThe caller argument expression for property6. Auto-populated by the compiler.
property7Expression = ""stringThe caller argument expression for property7. Auto-populated by the compiler.
property8Expression = ""stringThe caller argument expression for property8. Auto-populated by the compiler.
property9Expression = ""stringThe caller argument expression for property9. Auto-populated by the compiler.
property10Expression = ""stringThe caller argument expression for property10. Auto-populated by the compiler.
property11Expression = ""stringThe caller argument expression for property11. Auto-populated by the compiler.
callerFilePath = ""stringThe source file path of the caller. Auto-populated by the compiler.
callerLineNumber = 0intThe source line number of the caller. Auto-populated by the compiler.

Returns: IObservable -- An observable sequence of selector results.

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

View source

Summary: Observes 12 properties on the specified sender and applies a selector to the observed changes.

Type parameters

NameDescription
TSenderThe type of the sender to monitor for property changes.
TRetThe return type of the selector.
T1The type of property 1 value.
T2The type of property 2 value.
T3The type of property 3 value.
T4The type of property 4 value.
T5The type of property 5 value.
T6The type of property 6 value.
T7The type of property 7 value.
T8The type of property 8 value.
T9The type of property 9 value.
T10The type of property 10 value.
T11The type of property 11 value.
T12The type of property 12 value.

Parameters

NameTypeDescription
senderTSenderThe sender instance to observe for property changes.
property1Expression>An expression that selects property 1 to observe.
property2Expression>An expression that selects property 2 to observe.
property3Expression>An expression that selects property 3 to observe.
property4Expression>An expression that selects property 4 to observe.
property5Expression>An expression that selects property 5 to observe.
property6Expression>An expression that selects property 6 to observe.
property7Expression>An expression that selects property 7 to observe.
property8Expression>An expression that selects property 8 to observe.
property9Expression>An expression that selects property 9 to observe.
property10Expression>An expression that selects property 10 to observe.
property11Expression>An expression that selects property 11 to observe.
property12Expression>An expression that selects property 12 to observe.
selectorFunc, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, IObservedChange, TRet>A function that combines the observed changes into a result.
property1Expression = ""stringThe caller argument expression for property1. Auto-populated by the compiler.
property2Expression = ""stringThe caller argument expression for property2. Auto-populated by the compiler.
property3Expression = ""stringThe caller argument expression for property3. Auto-populated by the compiler.
property4Expression = ""stringThe caller argument expression for property4. Auto-populated by the compiler.
property5Expression = ""stringThe caller argument expression for property5. Auto-populated by the compiler.
property6Expression = ""stringThe caller argument expression for property6. Auto-populated by the compiler.
property7Expression = ""stringThe caller argument expression for property7. Auto-populated by the compiler.
property8Expression = ""stringThe caller argument expression for property8. Auto-populated by the compiler.
property9Expression = ""stringThe caller argument expression for property9. Auto-populated by the compiler.
property10Expression = ""stringThe caller argument expression for property10. Auto-populated by the compiler.
property11Expression = ""stringThe caller argument expression for property11. Auto-populated by the compiler.
property12Expression = ""stringThe caller argument expression for property12. Auto-populated by the compiler.
callerFilePath = ""stringThe source file path of the caller. Auto-populated by the compiler.
callerLineNumber = 0intThe source line number of the caller. Auto-populated by the compiler.

Returns: IObservable -- An observable sequence of selector results.