public PagedQueryProvider(IQueryProvider provider, ResourceType resourceType, object[] continuationToken, CountManager countManager)
 {
     this.InnerProvider     = provider;
     this.ContinuationToken = continuationToken;
     this.ResourceType      = resourceType;
     this.CountManager      = countManager;
 }
 private static CountingEnumerator <T> CreateCountingEnumerator <T>(IEnumerable e, ResourceType rt, CountManager cm) where T : class
 {
     return(new CountingEnumerator <T>(e, rt, cm));
 }
 public PagedQueryProvider(IDataServiceQueryProvider dataServiceQueryProvider, IQueryProvider provider, ResourceType resourceType, object[] continuationToken, CountManager countManager)
     : this(provider, resourceType, continuationToken, countManager)
 {
     this.dataServiceQueryProvider = dataServiceQueryProvider;
 }
 public CountingEnumerator(IEnumerable innerEnumerable, ResourceType resourceType, CountManager cm)
 {
     this.innerEnumerable = innerEnumerable;
     this.resourceType    = resourceType;
     this.cm = cm;
 }