IRxObject interface¶
Defined in
Namespace: ReactiveMarbles.Mvvm
Assembly: ReactiveMarbles.Mvvm.dll
Full name: ReactiveMarbles.Mvvm.IRxObject
Modifiers: public abstract
Summary¶
A reactive object is a interface for ViewModels which will expose
logging, and notify when properties are either changing or changed.
The primary use of this interface is to allow external classes such as
the ObservableAsPropertyHelper to trigger these events inside the ViewModel.
Applies to
net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.0
Class hierarchy
classDiagram
class IRxObject
class INotifyPropertyChanged {
<>
}
INotifyPropertyChanged <|.. IRxObject
class INotifyPropertyChanging {
<>
}
INotifyPropertyChanging <|.. IRxObject
class IThrownExceptions {
<>
}
IThrownExceptions <|.. IRxObject
Implements: INotifyPropertyChanged, INotifyPropertyChanging, IThrownExceptions
Properties¶
| Name | Summary |
|---|---|
| Changing | Gets an observable that fires before a property is about to be changed. Note that this should not fire duplicate change notifications if a property is set to the same... |
| Changed | Gets an Observable that fires after a property has changed. Note that this should not fire duplicate change notifications if a property is set to the same value multiple... |
Methods¶
| Name | Summary |
|---|---|
| SuppressChangeNotifications | When this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed. |
| AreChangeNotificationsEnabled | Determines if change notifications are enabled or not. |
| AreChangeNotificationsDelayed | Gets a value indicating whether the change notifications are delayed. |
| DelayChangeNotifications | Delays notifications until the return IDisposable is disposed. |