Skip to content

ObservableForPropertyBase class

Attributes: [Preserve] [DebuggerDisplay("ObservableForPropertyBase")]

Defined in

Namespace: ReactiveUI.Reactive Assembly: ReactiveUI.Reactive.dll Full name: ReactiveUI.Reactive.ObservableForPropertyBase Modifiers: public

Summary

View source

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

NameSummary
.ctor

Methods

NameSummary
GetAffinityForObjectReturns a positive integer when this instance supports GetNotificationForProperty for the specified type and propertyName, assuming after-change notifications.
GetNotificationForPropertySubscribes to after-change notifications for the specified propertyName on sender.
static ObservableFromUIControlEventCreates an observable sequence that produces a notification each time the given UIControlEvent is raised by the sender.
static ObservableFromNotificationCreates an observable sequence that produces a notification each time the specified NSNotificationCenter notification is posted for sender.
static ObservableFromEventCreates an observable sequence from an event using reflection-based string event lookup.
RegisterRegisters an observable factory for the specified type and property.

Derived types

Inherited members