ICosmosContainerProvider<TItem>
The cosmos container provider exposes a means of providing
Namespace: Microsoft.Azure.CosmosRepository.Providers
Kind: interface
The cosmos container provider exposes a means of providing
an instance to the configured Container object.
public interface ICosmosContainerProvider<TItem> where TItem : IItemType parameters
| Name | Description |
|---|---|
TItem | — |
Example
Members
Method
ICosmosContainerProvider<TItem>.GetContainerAsync()
Asynchronously gets the configured Container instance that corresponds to the
cosmos RepositoryOptions.
Task<Container> GetContainerAsync()Returns — Container}: A Container instance.