public IEnumerator <T> GetEnumerator()
        {
            Expression expression = this.InnerQueryable.Expression;

            expression = this.ApplyPagingStrategy(expression);
            PagingQueryable <T> finalQuery = (PagingQueryable <T>) this.provider.CreateQuery <T>(expression);

            return(((new CountingEnumerator <T>(finalQuery.InnerQueryable as IEnumerable, this.ResourceType, this.CountManager)) as IEnumerable <T>).GetEnumerator());
        }
 private void ApplyContinuationToQuery <T>(PagingQueryable <T> query)
 {
     query.Initialize((PagedQueryProvider)query.Provider);
 }