Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = WinStep.GetHashCode();
         hashCode = (hashCode * 397) ^ O2.GetHashCode();
         hashCode = (hashCode * 397) ^ Energy.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 public bool Equals(EnvironmentResource other)
 {
     return(WinStep.Equals(other.WinStep) && O2.Equals(other.O2) && Energy.Equals(other.Energy));
 }