public PagingQueryable(IQueryable <T> queryable, PagedQueryProvider provider)
 {
     this.queryable = queryable;
     this.provider  = provider;
     this.Initialize(this.provider);
 }
 internal void Initialize(PagedQueryProvider provider)
 {
     this.CountManager      = provider.CountManager;
     this.ContinuationToken = provider.ContinuationToken;
     this.ResourceType      = provider.ResourceType;
 }
        public void SetContinuationToken(IQueryable query, ResourceType resourceType, object[] continuationToken)
        {
            PagedQueryProvider pqp = query.Provider as PagedQueryProvider;

            pqp.ApplyContinuationToken(query, resourceType, continuationToken);
        }