public bool Equals(TuneMinerGPUsResult other) { return(other != null && CoreClock.Equals(other.CoreClock) && CoreVoltage.Equals(other.CoreVoltage) && EqualityComparer <ConcurrentObservableDictionary <Coin, HashRate> > .Default.Equals(HashRates, other.HashRates) && MemClock.Equals(other.MemClock) && PowerConsumption.Equals(other.PowerConsumption)); }
public override int GetHashCode() { var hashCode = -1949465691; hashCode = hashCode * -1521134295 + CoreClock.GetHashCode(); hashCode = hashCode * -1521134295 + CoreVoltage.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <ConcurrentObservableDictionary <Coin, HashRate> > .Default.GetHashCode(HashRates); hashCode = hashCode * -1521134295 + MemClock.GetHashCode(); hashCode = hashCode * -1521134295 + PowerConsumption.GetHashCode(); return(hashCode); }
public bool Equals(VideoCard other) { return(other != null && BIOSVersion == other.BIOSVersion && CoreClock.Equals(other.CoreClock) && CoreVoltage == other.CoreVoltage && DeviceID == other.DeviceID && IsStrapped == other.IsStrapped && MemClock.Equals(other.MemClock) && PowerConsumption == other.PowerConsumption && EqualityComparer <IVideoCardSignil> .Default.Equals(VideoCardSignil, other.VideoCardSignil)); }
public override int GetHashCode() { var hashCode = -485759360; hashCode = hashCode * -1521134295 + CoreClock.GetHashCode(); hashCode = hashCode * -1521134295 + CoreVoltage.GetHashCode(); hashCode = hashCode * -1521134295 + FanRPM.GetHashCode(); hashCode = hashCode * -1521134295 + MemClock.GetHashCode(); hashCode = hashCode * -1521134295 + PowerConsumption.GetHashCode(); hashCode = hashCode * -1521134295 + PowerLimit.GetHashCode(); hashCode = hashCode * -1521134295 + Temp.GetHashCode(); return(hashCode); }
public override int GetHashCode() { var hashCode = -1822004008; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(BIOSVersion); hashCode = hashCode * -1521134295 + CoreClock.GetHashCode(); hashCode = hashCode * -1521134295 + CoreVoltage.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(DeviceID); hashCode = hashCode * -1521134295 + IsStrapped.GetHashCode(); hashCode = hashCode * -1521134295 + MemClock.GetHashCode(); hashCode = hashCode * -1521134295 + PowerConsumption.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <IVideoCardSignil> .Default.GetHashCode(VideoCardSignil); return(hashCode); }