public override int GetHashCode() { int hash = 1; if (VersionTotal.Length != 0) { hash ^= VersionTotal.GetHashCode(); } if (VersionPatch.Length != 0) { hash ^= VersionPatch.GetHashCode(); } if (IsAppStorePass != false) { hash ^= IsAppStorePass.GetHashCode(); } if (FirUrl.Length != 0) { hash ^= FirUrl.GetHashCode(); } if (ApkUrl.Length != 0) { hash ^= ApkUrl.GetHashCode(); } if (Doname.Length != 0) { hash ^= Doname.GetHashCode(); } if (FixIp.Length != 0) { hash ^= FixIp.GetHashCode(); } return(hash); }
public override int GetHashCode() { var hashCode = 1356543658; hashCode = hashCode * -1521134295 + VersionMajor.GetHashCode(); hashCode = hashCode * -1521134295 + VersionMinor.GetHashCode(); hashCode = hashCode * -1521134295 + VersionPatch.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(CustomVersionString); return(hashCode); }
public override int GetHashCode() { return((int)Math.Pow(VersionMajor.GetHashCode() + 1, Math.Pow(VersionMinor.GetHashCode() + 1, Math.Pow(VersionPatch.GetHashCode() + 1, VersionBuild.GetHashCode() + 1)))); }