The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

NotifyPropertyChangedEx Class

Summary

Property changes notification.
Namespace
DynamicData.Binding
Base Types
  • object
graph BT Type-->Base0["object"] Type["NotifyPropertyChangedEx"] class Type type-node

Syntax

public static class NotifyPropertyChangedEx

Methods

Name Value Summary
WhenAnyPropertyChanged<TObject>(TObject, string[]) IObservable<TObject?>
Notifies when any property on the object has changed.
static
WhenChanged<TObject, TResult, TProperty1, TProperty2, TProperty3, TProperty4, TProperty5, TProperty6>(TObject, Expression<Func<TObject, TProperty1>>, Expression<Func<TObject, TProperty2>>, Expression<Func<TObject, TProperty3>>, Expression<Func<TObject, TProperty4>>, Expression<Func<TObject, TProperty5>>, Expression<Func<TObject, TProperty6>>, Func<TObject, TProperty1?, TProperty2?, TProperty3?, TProperty4?, TProperty5?, TProperty6?, TResult>, Func<TProperty1>?, Func<TProperty2>?, Func<TProperty3>?, Func<TProperty4>?, Func<TProperty5>?, Func<TProperty6>?) IObservable<TResult?>
Produces an observable based on the combined values of the specified properties, including the initial value. ** A fallback value may be specified to ensure a notification is received when a value is unobtainable. For example when observing Parent.Child.Age, if Child is null the value is unobtainable as Age is a struct and cannot be set to Null. For an object like Parent.Child.Sibling, sibling is an object so if Child is null, the value null and obtainable and is returned as null.
static
WhenChanged<TObject, TResult, TProperty1, TProperty2, TProperty3, TProperty4, TProperty5>(TObject, Expression<Func<TObject, TProperty1>>, Expression<Func<TObject, TProperty2>>, Expression<Func<TObject, TProperty3>>, Expression<Func<TObject, TProperty4>>, Expression<Func<TObject, TProperty5>>, Func<TObject, TProperty1?, TProperty2?, TProperty3?, TProperty4?, TProperty5?, TResult>, Func<TProperty1>?, Func<TProperty2>?, Func<TProperty3>?, Func<TProperty4>?, Func<TProperty5>?) IObservable<TResult?>
Produces an observable based on the combined values of the specified properties, including the initial value. ** A fallback value may be specified to ensure a notification is received when a value is unobtainable. For example when observing Parent.Child.Age, if Child is null the value is unobtainable as Age is a struct and cannot be set to Null. For an object like Parent.Child.Sibling, sibling is an object so if Child is null, the value null and obtainable and is returned as null.
static
WhenChanged<TObject, TResult, TProperty1, TProperty2, TProperty3, TProperty4>(TObject, Expression<Func<TObject, TProperty1>>, Expression<Func<TObject, TProperty2>>, Expression<Func<TObject, TProperty3>>, Expression<Func<TObject, TProperty4>>, Func<TObject, TProperty1?, TProperty2?, TProperty3?, TProperty4?, TResult>, Func<TProperty1>?, Func<TProperty2>?, Func<TProperty3>?, Func<TProperty4>?) IObservable<TResult?>
Produces an observable based on the combined values of the specified properties, including the initial value. ** A fallback value may be specified to ensure a notification is received when a value is unobtainable. For example when observing Parent.Child.Age, if Child is null the value is unobtainable as Age is a struct and cannot be set to Null. For an object like Parent.Child.Sibling, sibling is an object so if Child is null, the value null and obtainable and is returned as null.
static
WhenChanged<TObject, TResult, TProperty1, TProperty2, TProperty3>(TObject, Expression<Func<TObject, TProperty1>>, Expression<Func<TObject, TProperty2>>, Expression<Func<TObject, TProperty3>>, Func<TObject, TProperty1?, TProperty2?, TProperty3?, TResult>, Func<TProperty1>?, Func<TProperty2>?, Func<TProperty3>?) IObservable<TResult?>
Produces an observable based on the combined values of the specified properties, including the initial value. ** A fallback value may be specified to ensure a notification is received when a value is unobtainable. For example when observing Parent.Child.Age, if Child is null the value is unobtainable as Age is a struct and cannot be set to Null. For an object like Parent.Child.Sibling, sibling is an object so if Child is null, the value null and obtainable and is returned as null.
static
WhenChanged<TObject, TResult, TProperty1, TProperty2>(TObject, Expression<Func<TObject, TProperty1>>, Expression<Func<TObject, TProperty2>>, Func<TObject, TProperty1?, TProperty2?, TResult>, Func<TProperty1>?, Func<TProperty2>?) IObservable<TResult?>
Produces an observable based on the combined values of the specified properties, including the initial value. ** A fallback value may be specified to ensure a notification is received when a value is unobtainable. For example when observing Parent.Child.Age, if Child is null the value is unobtainable as Age is a struct and cannot be set to Null. For an object like Parent.Child.Sibling, sibling is an object so if Child is null, the value null and obtainable and is returned as null.
static
WhenChanged<TObject, TResult, TProperty1>(TObject, Expression<Func<TObject, TProperty1>>, Func<TObject, TProperty1?, TResult>, Func<TProperty1>?) IObservable<TResult?>
Produces an observable based on the combined values of the specified properties, including the initial value. ** A fallback value may be specified to ensure a notification is received when a value is unobtainable. For example when observing Parent.Child.Age, if Child is null the value is unobtainable as Age is a struct and cannot be set to Null. For an object like Parent.Child.Sibling, sibling is an object so if Child is null, the value null and obtainable and is returned as null.
static
WhenPropertyChanged<TObject, TProperty>(TObject, Expression<Func<TObject, TProperty>>, bool, Func<TProperty?>?) IObservable<PropertyValue<TObject, TProperty>>
Observes property changes for the specified property, starting with the current value.
static
WhenValueChanged<TObject, TProperty>(TObject, Expression<Func<TObject, TProperty>>, bool, Func<TProperty>?) IObservable<TProperty?>
Observes property changes for the specified property, starting with the current value.
static

Extension Methods

Name Value Summary
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.