Class ServicesConfiguration
Inherited Members
Namespace: DataWeb.Data.AzureCosmosDB
Assembly: DataWeb.Data.AzureCosmosDB.dll
Syntax
public static class ServicesConfiguration
Methods
AddDataWebDataAzureCosmosDB(IServiceCollection)
Registers all DataWeb AzureCosmosDB data store services into the dependency injection container.
Declaration
public static void AddDataWebDataAzureCosmosDB(this IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services | The IServiceCollection to add services to. |
AddDataWebDataAzureCosmosDBClient(IServiceCollection)
Registers the keyed CosmosClient singleton configured from application settings.
Declaration
public static IServiceCollection AddDataWebDataAzureCosmosDBClient(this IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services | The IServiceCollection to add the client to. |
Returns
| Type | Description |
|---|---|
| IServiceCollection | The updated IServiceCollection. |