Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }