public static async Task <DocumentCollection> GetDocumentCollectionAsync(
            this IChangeFeedDocumentClient client,
            DocumentCollectionInfo collectionInfo)
        {
            Uri collectionUri = UriFactory.CreateDocumentCollectionUri(collectionInfo.DatabaseName, collectionInfo.CollectionName);
            IResourceResponse <DocumentCollection> response =
                await client.ReadDocumentCollectionAsync(collectionUri, new RequestOptions()).ConfigureAwait(false);

            return(response.Resource);
        }
 public async Task <IResourceResponse <DocumentCollection> > ReadDocumentCollectionAsync(Uri documentCollectionUri, RequestOptions options)
 {
     return(await _inner.ReadDocumentCollectionAsync(documentCollectionUri, options));
 }