# ResolveServices

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/builder/trait-resolveservices/

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

```rust
trait ResolveServices: Sized
```

The services that `ReactiveUIInstanceMixins::with_instance` resolves and hands to its action:
one service as an `Option<Rc<S>>`, or a tuple of 1 to 16 of them. Each is `None` when the
resolver has no registration for it (upstream's `T?`). The service may be a trait object.

Deviation (DEVIATIONS.md, ReactiveUI): upstream overloads `WithInstance` for actions of 1 to 16
arguments; the action here takes the services as one argument, whose type, a tuple for more
than one, says what to resolve.

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

## Members

- [`resolve`](#function-resolve)

<a id="function-resolve"></a>

### resolve

```rust
fn resolve(resolver: &dyn IReadonlyDependencyResolver) -> Self
```

The services, resolved from `resolver`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/builder/builder_mixins_instance.rs#L17)

## Trait implementations

- [`ResolveServices`](/docs/0.5.0/api/ferroui-reactiveui/builder/trait-resolveservices/)

## Availability

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