Exemplo n.º 1
0
 /// <summary>
 /// Specify a store client factory to use for all transport requests for cosmos client.
 /// </summary>
 /// <remarks>
 /// This method enables transport client sharing among multiple cosmos client instances inside a single process.
 /// </remarks>
 /// <param name="storeClientFactory">Instance of store client factory to use to create transport client for an instance of cosmos client.</param>
 internal CosmosClientBuilder WithStoreClientFactory(IStoreClientFactory storeClientFactory)
 {
     this.clientOptions.StoreClientFactory = storeClientFactory;
     return(this);
 }