/// <inheritdoc cref="IEquatable{T}.Equals(T)"/> public bool Equals(Readings other) { if (other == null) { return(false); } return(FetchedTime.Equals(other.FetchedTime) && MeasuredTime.Equals(other.MeasuredTime)); }
/// <inheritdoc /> public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + FetchedTime.GetHashCode(); hash = hash * 23 + MeasuredTime.GetHashCode(); return(hash); } }