Пример #1
0
 protected bool Equals(ForecastEntity other)
 {
     return(Id == other.Id &&
            string.Equals(City, other.City) &&
            Date.Equals(other.Date) &&
            Pressure.Equals(other.Pressure) &&
            Humidity.Equals(other.Humidity) &&
            TemperatureMorning.Equals(other.TemperatureMorning) &&
            TemperatureDay.Equals(other.TemperatureDay) &&
            TemperatureEvening.Equals(other.TemperatureEvening) &&
            TemperatureNight.Equals(other.TemperatureNight) &&
            WindSpeed.Equals(other.WindSpeed) &&
            string.Equals(Description, other.Description) &&
            string.Equals(Icon, other.Icon));
 }