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;
 }
Exemplo n.º 2
0
 private ClientContextCore(
     CosmosClient client,
     CosmosClientOptions clientOptions,
     CosmosSerializerCore serializerCore,
     CosmosResponseFactory cosmosResponseFactory,
     RequestInvokerHandler requestHandler,
     DocumentClient documentClient,
     string userAgent,
     EncryptionProcessor encryptionProcessor,
     DekCache dekCache,
     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.dekCache            = dekCache;
     this.batchExecutorCache  = batchExecutorCache;
 }