async Task<IEnumerable<T>> GetAndCastNextResultAsync<T>(QueryResultType type)
 {
     QueryResult r = await GetNextAsync();
     return CastResultContent<T>(r, type);
 }