ObservableForPropertyBase class¶
Attributes: [Preserve] [DebuggerDisplay("ObservableForPropertyBase")]
Defined in
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Reactive.dll
Full name: ReactiveUI.Reactive.ObservableForPropertyBase
Modifiers: public
Summary¶
Represents an object that knows how to create notifications for a given type of object.
Implement this when porting ReactiveUI to a new UI toolkit, or to enable WhenAny*
support for another type that can be observed in a unique way.
Applies to
net10.0-ios26.0, net10.0-macos26.0, net10.0-maccatalyst26.0, net10.0-tvos26.0
Class hierarchy
classDiagram
class ObservableForPropertyBase
class ICreatesObservableForProperty {
<>
}
ICreatesObservableForProperty <|.. ObservableForPropertyBase
class IEnableLogger {
<>
}
IEnableLogger <|.. ObservableForPropertyBase
Implements: ICreatesObservableForProperty, IEnableLogger
Remarks¶
Implementations typically call Register during construction to populate supported properties.
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Methods¶
| Name | Summary |
|---|---|
| GetAffinityForObject | Returns a positive integer when this instance supports GetNotificationForProperty for the specified type and propertyName, assuming after-change notifications. |
| GetNotificationForProperty | Subscribes to after-change notifications for the specified propertyName on sender. |
| static ObservableFromUIControlEvent | Creates an observable sequence that produces a notification each time the given UIControlEvent is raised by the sender. |
| static ObservableFromNotification | Creates an observable sequence that produces a notification each time the specified NSNotificationCenter notification is posted for sender. |
| static ObservableFromEvent | Creates an observable sequence from an event using reflection-based string event lookup. |
| Register | Registers an observable factory for the specified type and property. |