Synced
IStorageBackendFactory.CreateStorage
Section titled “IStorageBackendFactory.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”Inno.Storage.IApplicationStorage Inno.Adapter.Storage.IStorageBackendFactory.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.