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