Example #1
0
        public Lazy <FacetedQueryResult> ToListLazy()
        {
            var facetsLazy = _queryable.ToFacetsLazy(AggregationQuery <T> .GetFacets(_facets));

            return(new Lazy <FacetedQueryResult>(() => HandleRenames(facetsLazy.Value)));
        }
Example #2
0
 public async Task <FacetedQueryResult> ToListAsync()
 {
     return(HandleRenames(await _queryable.ToFacetsAsync(AggregationQuery <T> .GetFacets(_facets)).ConfigureAwait(false)));
 }
Example #3
0
 public FacetedQueryResult ToList()
 {
     return(HandleRenames(_queryable.ToFacets(AggregationQuery <T> .GetFacets(_facets))));
 }