public override int GetHashCode() { unchecked { var hashCode = UnixTimestamp; hashCode = (hashCode * 397) ^ MainValues.GetHashCode(); hashCode = (hashCode * 397) ^ TimestampString.GetHashCode(); hashCode = (hashCode * 397) ^ WeatherDescription.GetHashCode(); hashCode = (hashCode * 397) ^ Clouds.GetHashCode(); hashCode = (hashCode * 397) ^ Wind.GetHashCode(); return(hashCode); } }
protected bool Equals(Clouds other) { return(All == other.All); }
protected bool Equals(ForecastShortTermEntry other) { return(UnixTimestamp == other.UnixTimestamp && MainValues.Equals(other.MainValues) && string.Equals(TimestampString, other.TimestampString) && WeatherDescription.SequenceEqual(other.WeatherDescription) && Clouds.Equals(other.Clouds) && Wind.Equals(other.Wind)); }