コード例 #1
0
 public DocumentEnumerable(
     CosmosClient cosmosClient, QueryContext queryContext, string collectionId, SelectExpression selectExpression)
 {
     _cosmosClient     = cosmosClient;
     _queryContext     = queryContext;
     _collectionId     = collectionId;
     _selectExpression = selectExpression;
 }
コード例 #2
0
 public DocumentQueryExpression(bool async, string collectionId, SelectExpression selectExpression)
 {
     _async           = async;
     _collectionId    = collectionId;
     SelectExpression = selectExpression;
 }
コード例 #3
0
 private static IAsyncEnumerable <JObject> _QueryAsync(
     CosmosClient cosmosClient,
     QueryContext queryContext,
     string collectionId,
     SelectExpression selectExpression)
 => new DocumentAsyncEnumerable(cosmosClient, queryContext, collectionId, selectExpression);