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¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [RxRecord](# class. |
Properties¶
| Name | Summary |
|---|---|
| EqualityContract | |
| ThrownExceptions | Gets a observable which will fire whenever an exception would normally terminate. internal state. |
| 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 |
|---|---|
| AreChangeNotificationsEnabled | Determines if change notifications are enabled or not. |
| AreChangeNotificationsDelayed | Gets a value indicating whether the change notifications are delayed. |
| SuppressChangeNotifications | When this method is called, an object will not fire change notifications (neither traditional nor Observable notifications) until the return value is disposed. |
| DelayChangeNotifications | Delays notifications until the return IDisposable is disposed. |
| RaisePropertyChanging | Raises the property changing event. |
| RaisePropertyChanged | Raises the property changed event. |
| RaiseAndSetIfChanged | RaiseAndSetIfChanged 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¶
| Name | Summary |
|---|---|
| static op_Inequality | |
| static op_Equality |
Events¶
| Name | Summary |
|---|---|
| PropertyChanged | |
| PropertyChanging |