public override string ToString() { string ls = LowestValue.Equals(minValue) ? "-Inf" : LowestValue.ToString(); string hs = HighestValue.Equals(maxValue) ? "Inf" : HighestValue.ToString(); return(Value.ToString() + " [" + ls + ", " + hs + "]"); }
protected bool Equals(ItemData other) { return(Id == other.Id && TimeStamp.Equals(other.TimeStamp) && string.Equals(RealmSlug, other.RealmSlug) && MeanValue.Equals(other.MeanValue) && AdjustedMeanValue.Equals(other.AdjustedMeanValue) && LowestValue.Equals(other.LowestValue) && HighestValue.Equals(other.HighestValue) && Quantity == other.Quantity); }