public CosmosDbDataService(ICosmosDbDataServiceConfiguration dataServiceConfiguration, CosmosClient client, ILogger <CosmosDbDataService <T> > logger) { _dataServiceConfiguration = dataServiceConfiguration; _client = client; _logger = logger; }
public CosmosDbDataService(ICosmosDbDataServiceConfiguration dataServiceConfiguration, CosmosClient client, ILogger <CosmosDbDataService <T> > log) { _dataServiceConfiguration = dataServiceConfiguration ?? throw new ArgumentNullException(nameof(dataServiceConfiguration)); _client = client ?? throw new ArgumentNullException(nameof(client)); _log = log ?? throw new ArgumentNullException(nameof(log)); }