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

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