# IStorageProviderFactory

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/platform/trait-istorageproviderfactory/

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

```rust
trait IStorageProviderFactory
```

Factory allows to register custom storage provider instead of native
implementation.

This API is unstable: it may change with the platform backends.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/dialogs/i_storage_provider_factory.rs#L10)

## Members

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

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

### create_provider

```rust
fn create_provider(self: &Self, top_level: &Ref<TopLevel>) -> Rc<dyn IStorageProvider>
```

Creates the storage provider of a top-level.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/platform/dialogs/i_storage_provider_factory.rs#L12)

## Availability

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