public CosmosMessageDbContext(IUserService userService, ILogger <CosmosMessageDbContext> logger, ICosmosInfrastructureService cosmosInfrastructure, ICosmosDbPolicies policies) { _userService = userService; _logger = logger; _cosmosInfrastructure = cosmosInfrastructure; _policies = policies; }
public CosmosInfrastructureService(CosmosDbSettings cosmosDbSettings, CosmosClient client, ICosmosDbPolicies policies) { _throughput = cosmosDbSettings.Throughput; _collectionName = cosmosDbSettings.CollectionName; _databaseName = cosmosDbSettings.DatabaseName; _client = client; _policies = policies; }
public CosmosUserSessionDbContext(ICosmosInfrastructureService cosmosInfrastructure, ICosmosDbPolicies policies) { _cosmosInfrastructure = cosmosInfrastructure; _policies = policies; }