Skip to content

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

NameSummary
ChangingGets 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...
ChangedGets 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

NameSummary
SuppressChangeNotificationsWhen this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed.
AreChangeNotificationsEnabledDetermines if change notifications are enabled or not.
AreChangeNotificationsDelayedGets a value indicating whether the change notifications are delayed.
DelayChangeNotificationsDelays notifications until the return IDisposable is disposed.