NotifyPropertyChangedObservable class¶
Attributes: [DebuggerDisplay("Property = {_observedPropertyName}, Sender = {_sender}, BeforeChanged = {_beforeChanged}")] [EditorBrowsable(EditorBrowsableState.1)]
Defined in
Namespace: ReactiveUI.Binding.Reactive.Observables
Assembly: ReactiveUI.Binding.Reactive.dll
Full name: ReactiveUI.Binding.Reactive.Observables.NotifyPropertyChangedObservable
Modifiers: public sealed
Summary¶
Single fused observable for INotifyPropertyChanged / INotifyPropertyChanging
property observation. Each subscription attaches one handler that filters by property name and emits a
single prebuilt IObservedChange directly — replacing a
FromEvent + Where + Select operator chain with one allocation-light class. Before-change versus
after-change is selected per instance, so a single type serves the whole purpose.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-ios18.0, net9.0-macos15.0, net9.0-desktop1.0, net8.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, netstandard2.1, net481, net462, net471
Class hierarchy
classDiagram
class NotifyPropertyChangedObservable
class IObservable~IObservedChange~object, object?~~ {
<>
}
IObservable~IObservedChange~object, object?~~ <|.. NotifyPropertyChangedObservable
Implements: IObservable
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [NotifyPropertyChangedObservable](# class. |
Methods¶
| Name | Summary |
|---|---|
| Subscribe |