Esempio n. 1
0
        public bool Equals(AggregateBucketResult <TValue> x, AggregateBucketResult <TValue> y)
        {
            if (object.ReferenceEquals(x, y))
            {
                return(true);
            }

            if (object.ReferenceEquals(x, null) || object.ReferenceEquals(y, null))
            {
                return(false);
            }

            return
                (x.Id.Equals(y.Id) &&
                 x.Count == y.Count);
        }
Esempio n. 2
0
 public int GetHashCode(AggregateBucketResult <TValue> obj)
 {
     return(0);
 }