/// <summary> /// Returns true if Entry instances are equal /// </summary> /// <param name="other">Instance of Entry to be compared</param> /// <returns>Boolean</returns> public bool Equals(Entry other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Type == other.Type || Type != null && Type.Equals(other.Type) ) && ( DateString == other.DateString || DateString != null && DateString.Equals(other.DateString) ) && ( Date == other.Date || Date != null && Date.Equals(other.Date) ) && ( Sgv == other.Sgv || Sgv != null && Sgv.Equals(other.Sgv) ) && ( Direction == other.Direction || Direction != null && Direction.Equals(other.Direction) ) && ( Noise == other.Noise || Noise != null && Noise.Equals(other.Noise) ) && ( Filtered == other.Filtered || Filtered != null && Filtered.Equals(other.Filtered) ) && ( Unfiltered == other.Unfiltered || Unfiltered != null && Unfiltered.Equals(other.Unfiltered) ) && ( Rssi == other.Rssi || Rssi != null && Rssi.Equals(other.Rssi) )); }