Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 protected bool Equals(Clouds other)
 {
     return(All == other.All);
 }
Ejemplo n.º 3
0
 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));
 }