>
Defined in Type: ObservableForPropertyBase
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Reactive.dll
Applies to
net10.0-ios26.0, net10.0-macos26.0, net10.0-maccatalyst26.0, net10.0-tvos26.0
protected void Register(Type type, string property, int affinity, Func<NSObject, Expression, IObservable<IObservedChange<object, object?>>> createObservable)
Summary: Registers an observable factory for the specified type and property.
Parameters
| Name | Type | Description |
|---|---|---|
type | Type | The type the property belongs to. |
property | string | The property name. |
affinity | int | The affinity score for this registration. |
createObservable | Func | Factory that creates the observable for this property. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when type, property, or createObservable is null. |