Skip to content

RxRecord record

Defined in

Namespace: ReactiveMarbles.Mvvm Assembly: ReactiveMarbles.Mvvm.dll Full name: ReactiveMarbles.Mvvm.RxRecord Modifiers: public

Summary

RxRecord is the base object for ViewModel classes, and it implements INotifyPropertyChanged. In addition, RxRecord provides Changing and Changed Observables to monitor object changes.

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 RxRecord
class IRxObject {
    <>
}
IRxObject <|.. RxRecord
class INotifyPropertyChanged {
    <>
}
INotifyPropertyChanged <|.. RxRecord
class INotifyPropertyChanging {
    <>
}
INotifyPropertyChanging <|.. RxRecord
class IThrownExceptions {
    <>
}
IThrownExceptions <|.. RxRecord
class IEquatable~RxRecord~ {
    <>
}
IEquatable~RxRecord~ <|.. RxRecord

Implements: IRxObject, INotifyPropertyChanged, INotifyPropertyChanging, IThrownExceptions, IEquatable

Constructors

NameSummary
.ctorInitializes a new instance of the [RxRecord](# class.

Properties

NameSummary
EqualityContract
ThrownExceptionsGets a observable which will fire whenever an exception would normally terminate. internal state.
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
AreChangeNotificationsEnabledDetermines if change notifications are enabled or not.
AreChangeNotificationsDelayedGets a value indicating whether the change notifications are delayed.
SuppressChangeNotificationsWhen this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed.
DelayChangeNotificationsDelays notifications until the return IDisposable is disposed.
RaisePropertyChangingRaises the property changing event.
RaisePropertyChangedRaises the property changed event.
RaiseAndSetIfChangedRaiseAndSetIfChanged fully implements a Setter for a read-write property on a ReactiveObject, using CallerMemberName to raise the notification and the ref to the backing...
ToString
PrintMembers
GetHashCode
Equals

Operators

NameSummary
static op_Inequality
static op_Equality

Events

NameSummary
PropertyChanged
PropertyChanging
Inherited members