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); }
public int GetHashCode(AggregateBucketResult <TValue> obj) { return(0); }