Synced
StorageBackendCatalog.CreateStorage
Section titled “StorageBackendCatalog.CreateStorage”
- Creates isolated storage for a logical application namespace.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Adapter.Storage
Declaration
Section titled “Declaration”public Inno.Storage.IApplicationStorage Inno.Adapter.Storage.StorageBackendCatalog.CreateStorage(Inno.Adapter.Storage.StorageBackendId backend, Inno.Storage.StorageScope scope)Parameters
Section titled “Parameters”Parameter backend: storage implementation selected by the composition root.
Parameter scope: The application namespace mapped to a location by the selected provider.
Returns
Section titled “Returns”A caller-owned backend-neutral application storage service.
Exceptions
Section titled “Exceptions”Exception T:System.NotSupportedException: Thrown when the catalog does not contain the selected backend.
Exception T:System.InvalidOperationException: The selected provider returned no service.