Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = C6H6.GetHashCode();
         hashCode = (hashCode * 397) ^ PM10.GetHashCode();
         hashCode = (hashCode * 397) ^ SO2.GetHashCode();
         hashCode = (hashCode * 397) ^ NO2.GetHashCode();
         hashCode = (hashCode * 397) ^ CO.GetHashCode();
         hashCode = (hashCode * 397) ^ PM25.GetHashCode();
         hashCode = (hashCode * 397) ^ O3.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 protected bool Equals(ValuesAir other)
 {
     return(C6H6.Equals(other.C6H6) && PM10.Equals(other.PM10) && SO2.Equals(other.SO2) && NO2.Equals(other.NO2) && CO.Equals(other.CO) && PM25.Equals(other.PM25) && O3.Equals(other.O3));
 }