Skip to content

ICreatesObservableForProperty interface

Defined in

Namespace: ReactiveUI.Binding Assembly: ReactiveUI.Binding.dll Full name: ReactiveUI.Binding.ICreatesObservableForProperty Modifiers: public abstract

Summary

        Plugin interface for types that can provide property change observation.
        Implementations register with Splat and are resolved by affinity scoring.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

Remarks

        The interfaces are marked safe (no [RequiresUnreferencedCode]). Runtime fallback
        implementations that use reflection keep [RequiresUnreferencedCode].
        

Methods

NameSummary
GetAffinityForObjectReturns a positive integer for types this implementation can observe, or zero/negative for unsupported types. Higher values win.
GetNotificationForPropertyCreates an observable that fires when the specified property changes.

Extension members