public override int GetHashCode() { int hash = 1; if (CpuLoad != 0) { hash ^= CpuLoad.GetHashCode(); } if (GpuLoad != 0) { hash ^= GpuLoad.GetHashCode(); } if (Fps != 0) { hash ^= Fps.GetHashCode(); } if (CpuTemp != 0) { hash ^= CpuTemp.GetHashCode(); } if (GpuTemp != 0) { hash ^= GpuTemp.GetHashCode(); } if (CpuFreq != 0) { hash ^= CpuFreq.GetHashCode(); } if (GpuFreq != 0) { hash ^= GpuFreq.GetHashCode(); } return(hash); }
public override int GetHashCode() { var hashCode = -2035125405; hashCode = hashCode * -1521134295 + EqualityComparer <List <string> > .Default.GetHashCode(_images); hashCode = hashCode * -1521134295 + Fps.GetHashCode(); hashCode = hashCode * -1521134295 + Loop.GetHashCode(); return(hashCode); }
/// <inheritdoc/> public override int GetHashCode() { unchecked { var hashCode = (int)ImagePixelFormat; hashCode = (hashCode * 397) ^ Resolution.GetHashCode(); hashCode = (hashCode * 397) ^ Fps.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Category != 0) { hash ^= Category.GetHashCode(); } if (Type != 0) { hash ^= Type.GetHashCode(); } if (Bitrate != 0) { hash ^= Bitrate.GetHashCode(); } if (Fps != 0) { hash ^= Fps.GetHashCode(); } if (Unknown1 != 0) { hash ^= Unknown1.GetHashCode(); } if (Unknown2 != 0) { hash ^= Unknown2.GetHashCode(); } if (Unknown3 != 0) { hash ^= Unknown3.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }