internal ChangeFeedResultSetIterator(
     int?maxItemCount,
     string continuationToken,
     CosmosQueryRequestOptions options,
     NextResultSetDelegate nextDelegate,
     object state = null) : base(maxItemCount, continuationToken, options, nextDelegate, state)
 {
 }
Beispiel #2
0
 internal FeedIteratorCore(
     int?maxItemCount,
     string continuationToken,
     RequestOptions options,
     NextResultSetDelegate nextDelegate,
     object state = null)
 {
     this.nextResultSetDelegate  = nextDelegate;
     this.hasMoreResultsInternal = true;
     this.state             = state;
     this.MaxItemCount      = maxItemCount;
     this.continuationToken = continuationToken;
     this.queryOptions      = options;
 }
Beispiel #3
0
 internal CosmosDefaultResultSetStreamIterator(
     int?maxItemCount,
     string continuationToken,
     CosmosRequestOptions options,
     NextResultSetDelegate nextDelegate,
     object state = null)
 {
     this.nextResultSetDelegate = nextDelegate;
     this.HasMoreResults        = true;
     this.state             = state;
     this.MaxItemCount      = maxItemCount;
     this.continuationToken = continuationToken;
     this.queryOptions      = options;
 }
Beispiel #4
0
        internal CosmosDefaultResultSetIterator(
            int?maxItemCount,
            string continuationToken,
            CosmosRequestOptions options,
            NextResultSetDelegate nextDelegate,
            object state = null)
        {
            if (nextDelegate == null)
            {
                throw new ArgumentNullException(nameof(nextDelegate));
            }

            this.nextResultSetDelegate = nextDelegate;
            this.HasMoreResults        = true;
            this.state             = state;
            this.MaxItemCount      = maxItemCount;
            this.continuationToken = continuationToken;
            this.queryOptions      = options;
        }