Exemple #1
0
        public static IReadOnlyCollection <DateHistogramBucket> GetDateHistogram <T>(this AggregateDictionary aggs,
                                                                                     Expression <Func <T, Object> > fieldGetter)
        {
            var histogramItem = aggs.DateHistogram(GetName(fieldGetter));

            return(histogramItem.Buckets);
        }