CQRS.NET  2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ TryGetClient()

bool Cqrs.Azure.DocumentDb.ThreadedAzureDocumentDbConnectionCache.TryGetClient ( string  key,
out DocumentClient  client 
)

Gets the DocumentClient.

Parameters
keyThe name of the DocumentClient to get.
clientIf the DocumentClient is found, it is returned here; otherwise null is returned. This parameter is passed uninitialized.
Returns
true if the DocumentClient is found; otherwise, false.

Implements Cqrs.Azure.DocumentDb.IAzureDocumentDbConnectionCache.