Method WhenAnyProperty
WhenAnyProperty<TObject>(TObject, params string[])
Declaration
public static IObservable<EventPattern<PropertyChangedEventArgs>> WhenAnyProperty<TObject>(this TObject instance, params string[] propertiesToMonitor) where TObject : INotifyPropertyChanged
Parameters
Type |
Name |
Description |
TObject |
instance |
|
string[] |
propertiesToMonitor |
|
Returns
Type Parameters
WhenAnyProperty<TObject, T1>(TObject, Expression<Func<TObject, T1>>)
Declaration
public static IObservable<EventPattern<PropertyChangedEventArgs>> WhenAnyProperty<TObject, T1>(this TObject instance, Expression<Func<TObject, T1>> instancePropertyExtractor) where TObject : INotifyPropertyChanged
Parameters
Type |
Name |
Description |
TObject |
instance |
|
Expression<Func<TObject, T1>> |
instancePropertyExtractor |
|
Returns
Type Parameters
Name |
Description |
TObject |
|
T1 |
|
WhenAnyProperty<TObject, T1, T2>(TObject, Expression<Func<TObject, T1>>, Expression<Func<TObject, T2>>)
Declaration
public static IObservable<EventPattern<PropertyChangedEventArgs>> WhenAnyProperty<TObject, T1, T2>(this TObject instance, Expression<Func<TObject, T1>> ex1, Expression<Func<TObject, T2>> ex2) where TObject : INotifyPropertyChanged
Parameters
Returns
Type Parameters
Name |
Description |
TObject |
|
T1 |
|
T2 |
|
WhenAnyProperty<TObject, T1, T2, T3>(TObject, Expression<Func<TObject, T1>>, Expression<Func<TObject, T2>>, Expression<Func<TObject, T3>>)
Declaration
public static IObservable<EventPattern<PropertyChangedEventArgs>> WhenAnyProperty<TObject, T1, T2, T3>(this TObject instance, Expression<Func<TObject, T1>> ex1, Expression<Func<TObject, T2>> ex2, Expression<Func<TObject, T3>> ex3) where TObject : INotifyPropertyChanged
Parameters
Returns
Type Parameters
Name |
Description |
TObject |
|
T1 |
|
T2 |
|
T3 |
|
WhenAnyProperty<TObject, T1, T2, T3, T4>(TObject, Expression<Func<TObject, T1>>, Expression<Func<TObject, T2>>, Expression<Func<TObject, T3>>, Expression<Func<TObject, T4>>)
Declaration
public static IObservable<EventPattern<PropertyChangedEventArgs>> WhenAnyProperty<TObject, T1, T2, T3, T4>(this TObject instance, Expression<Func<TObject, T1>> ex1, Expression<Func<TObject, T2>> ex2, Expression<Func<TObject, T3>> ex3, Expression<Func<TObject, T4>> ex4) where TObject : INotifyPropertyChanged
Parameters
Returns
Type Parameters
Name |
Description |
TObject |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
WhenAnyProperty<TObject, T1, T2, T3, T4, T5>(TObject, Expression<Func<TObject, T1>>, Expression<Func<TObject, T2>>, Expression<Func<TObject, T3>>, Expression<Func<TObject, T4>>, Expression<Func<TObject, T5>>)
Declaration
public static IObservable<EventPattern<PropertyChangedEventArgs>> WhenAnyProperty<TObject, T1, T2, T3, T4, T5>(this TObject instance, Expression<Func<TObject, T1>> ex1, Expression<Func<TObject, T2>> ex2, Expression<Func<TObject, T3>> ex3, Expression<Func<TObject, T4>> ex4, Expression<Func<TObject, T5>> ex5) where TObject : INotifyPropertyChanged
Parameters
Returns
Type Parameters
Name |
Description |
TObject |
|
T1 |
|
T2 |
|
T3 |
|
T4 |
|
T5 |
|