/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (Copyrights != null) { hashCode = hashCode * 59 + Copyrights.GetHashCode(); } if (JobId != null) { hashCode = hashCode * 59 + JobId.GetHashCode(); } if (Status != null) { hashCode = hashCode * 59 + Status.GetHashCode(); } if (WaitingInQueue != null) { hashCode = hashCode * 59 + WaitingInQueue.GetHashCode(); } if (ProcessingTime != null) { hashCode = hashCode * 59 + ProcessingTime.GetHashCode(); } if (Solution != null) { hashCode = hashCode * 59 + Solution.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (Copyrights != null) { hashCode = hashCode * 59 + Copyrights.GetHashCode(); } if (Took != null) { hashCode = hashCode * 59 + Took.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Version.Length != 0) { hash ^= Version.GetHashCode(); } hash ^= authors_.GetHashCode(); if (Copyrights.Length != 0) { hash ^= Copyrights.GetHashCode(); } if (ContactInformation.Length != 0) { hash ^= ContactInformation.GetHashCode(); } if (Reference.Length != 0) { hash ^= Reference.GetHashCode(); } if (thumbnailImage_ != null) { hash ^= ThumbnailImage.GetHashCode(); } if (AvatarPermission != global::VrmProtobuf.Meta.Types.AvatarPermissionType.OnlyAuthor) { hash ^= AvatarPermission.GetHashCode(); } if (ViolentUsage != false) { hash ^= ViolentUsage.GetHashCode(); } if (SexualUsage != false) { hash ^= SexualUsage.GetHashCode(); } if (GameUsage != false) { hash ^= GameUsage.GetHashCode(); } if (CommercialUsage != global::VrmProtobuf.Meta.Types.CommercialUsageType.PersonalNonCommercialNonProfit) { hash ^= CommercialUsage.GetHashCode(); } if (PoliticalOrReligiousUsage != false) { hash ^= PoliticalOrReligiousUsage.GetHashCode(); } if (OtherPermissionUrl.Length != 0) { hash ^= OtherPermissionUrl.GetHashCode(); } if (CreditNotation != global::VrmProtobuf.Meta.Types.CreditNotationType.Required) { hash ^= CreditNotation.GetHashCode(); } if (AllowRedistribution != false) { hash ^= AllowRedistribution.GetHashCode(); } if (Modify != global::VrmProtobuf.Meta.Types.ModifyType.Prohibited) { hash ^= Modify.GetHashCode(); } if (OtherLicenseUrl.Length != 0) { hash ^= OtherLicenseUrl.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <summary> /// Liefert den Hashcode dieser Instanz. /// </summary> /// <returns>Der Hashcode der Instanz.</returns> public override int GetHashCode() { return(Title.GetHashCode() ^ SubTitle.GetHashCode() ^ ID.GetHashCode() ^ Links.GetHashCode() ^ Generator.GetHashCode() ^ Logo.GetHashCode() ^ Authors.GetHashCode() ^ Copyrights.GetHashCode() ^ Published.GetHashCode() ^ Language.GetHashCode() ^ Articles.GetHashCode()); }