# register_observation_defaults

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/binding/builder/function-register_observation_defaults/

**function** · [`ferroui-reactiveui`](/docs/0.5.0/api/ferroui-reactiveui/) · v0.5.0

```rust
fn register_observation_defaults(resolver: &dyn IMutableDependencyResolver)
```

Registers the default property observers with `resolver`, as [`ReactiveUIBindingModule`](/docs/0.5.0/api/ferroui-reactiveui/binding/builder/struct-reactiveuibindingmodule/) does:
[`INPCObservableForProperty`](/docs/0.5.0/api/ferroui-reactiveui/binding/observable_for_property/struct-inpcobservableforproperty/) and [`POCOObservableForProperty`](/docs/0.5.0/api/ferroui-reactiveui/binding/observable_for_property/struct-pocoobservableforproperty/), lazy singletons of
`dyn ICreatesObservableForProperty`. A builder calls it, or a test with
`register_observation_defaults(&*AppLocator::current_mutable())`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/builder/reactive_ui_binding_module.rs#L27)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
