private ClientContextCore( CosmosClient client, CosmosClientOptions clientOptions, CosmosSerializerCore serializerCore, CosmosResponseFactory cosmosResponseFactory, RequestInvokerHandler requestHandler, DocumentClient documentClient, string userAgent, EncryptionProcessor encryptionProcessor, BatchAsyncContainerExecutorCache batchExecutorCache) { this.client = client; this.clientOptions = clientOptions; this.serializerCore = serializerCore; this.responseFactory = cosmosResponseFactory; this.requestHandler = requestHandler; this.documentClient = documentClient; this.userAgent = userAgent; this.encryptionProcessor = encryptionProcessor; this.batchExecutorCache = batchExecutorCache; }
internal ClientContextCore( CosmosClient client, CosmosClientOptions clientOptions, CosmosSerializerCore serializerCore, CosmosResponseFactory cosmosResponseFactory, RequestInvokerHandler requestHandler, DocumentClient documentClient, string userAgent, EncryptionProcessor encryptionProcessor = null, DekCache dekCache = null) { this.Client = client; this.ClientOptions = clientOptions; this.SerializerCore = serializerCore; this.ResponseFactory = cosmosResponseFactory; this.RequestHandler = requestHandler; this.DocumentClient = documentClient; this.UserAgent = userAgent; this.EncryptionProcessor = encryptionProcessor; this.DekCache = dekCache; }