ReactiveNotifyPropertyChangedMixins class¶
Attributes: [Preserve(AllMembers = true)] [RequiresUnreferencedCode("Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.")]
Defined in
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Reactive.dll
Full name: ReactiveUI.Reactive.ReactiveNotifyPropertyChangedMixins
Modifiers: public static
Summary¶
Provides extension methods for observing property change notifications on objects, enabling reactive programming
patterns for property changes without relying on expression tree analysis. These methods allow consumers to create
observable sequences that emit notifications when specified properties change, supporting both simple property names
and expression-based property access.
Applies to
net10.0, net10.0-maccatalyst26.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-tvos26.0, net10.0-windows10.0.19041, net10.0-macos26.0, net10.0-ios26.0, net10.0-android36.0, net9.0, net9.0-tvos18.0, net9.0-macos15.0, net9.0-maccatalyst18.0, net9.0-windows10.0.19041, net9.0-ios18.0, net9.0-desktop1.0, net8.0, net8.0-windows10.0.19041, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.5, netstandard2.1, net481, net462, net471
Remarks¶
The methods in this class are designed to work with types that implement property change notification, such as ReactiveObject or compatible types. Overloads are provided to observe property changes by property name or by expression, with options to control notification timing (before or after change), initial value emission, and distinct value filtering. These APIs are especially useful in scenarios where expression tree analysis is not available or desirable, such as ahead-of-time (AOT) compilation environments. Consumers should be aware that some methods require unreferenced code and may not be compatible with all trimming scenarios. For more information on supported platforms and usage, refer to the ReactiveUI documentation.
Methods¶
| Name | Summary |
|---|---|
| static ObservableForProperty | |
| static SubscribeToExpressionChain |
Inherited members
Extension blocks¶
extension(TSender? item)¶
ObservableForPropertyObservableForPropertyObservableForPropertyObservableForPropertyObservableForPropertyObservableForPropertyObservableForPropertyObservableForPropertySubscribeToExpressionChainSubscribeToExpressionChainSubscribeToExpressionChainSubscribeToExpressionChainSubscribeToExpressionChain
extension(TSender? item)¶
ObservableForPropertyObservableForProperty