/// <summary>
 /// Initializes a new instance of the <see cref="AggregateBucketResult{TValue}" /> class.
 /// </summary>
 /// <param name="min">The minimum.</param>
 /// <param name="max">The maximum.</param>
 /// <param name="count">The count.</param>
 public AggregateBucketAutoResult(TValue min, TValue max, long count)
 {
     Id    = new AggregateBucketAutoResultId <TValue>(min, max);
     Count = count;
 }
 // constructors
 /// <summary>
 /// Initializes a new instance of the <see cref="AggregateBucketResult{TValue}"/> class.
 /// </summary>
 /// <param name="id">The inclusive lower boundary of the bucket.</param>
 /// <param name="count">The count.</param>
 public AggregateBucketAutoResult(AggregateBucketAutoResultId <TValue> id, long count)
 {
     Id    = id;
     Count = count;
 }