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(Wind other) { return(Speed.Equals(other.Speed) && Deg.Equals(other.Deg)); }
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)); }