/// <summary>
 /// Liefert den Hashcode dieser Instanz.
 /// </summary>
 /// <returns>Der Hashcode dieser Instanz.</returns>
 public override int GetHashCode()
 {
     return(Articles.GetHashCode() ^ ArticleUrl.GetHashCode() ^ Author.GetHashCode() ^ ImageDescription.GetHashCode()
            ^ Image.GetHashCode() ^ Language.GetHashCode() ^ Published.GetHashCode()
            ^ SkipDays.GetHashCode() ^ SkipHours.GetHashCode() ^ TextInput.GetHashCode() ^ TimeToLive.GetHashCode()
            ^ Title.GetHashCode() ^ Updated.GetHashCode() ^ Version.GetHashCode() ^ WebMaster.GetHashCode());
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((base.GetHashCode() * 397) ^ Updated.GetHashCode());
     }
 }
Esempio n. 3
0
        /// <summary>
        /// Serves as the default hash function.
        /// </summary>
        /// <returns>A hash code for the current object.</returns>
        public override int GetHashCode()
        {
            int returnHashcode = New.GetHashCode();

            returnHashcode = (returnHashcode * 397) ^ (Updated.GetHashCode());
            returnHashcode = (returnHashcode * 397) ^ (Deleted.GetHashCode());

            return(returnHashcode);
        }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Id;
         hashCode = (hashCode * 397) ^ Order;
         hashCode = (hashCode * 397) ^ (Content != null ? Content.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Section != null ? Section.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Target != null ? Target.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Author != null ? Author.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Tags != null ? Tags.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Created.GetHashCode();
         hashCode = (hashCode * 397) ^ Updated.GetHashCode();
         hashCode = (hashCode * 397) ^ Deleted.GetHashCode();
         return(hashCode);
     }
 }
Esempio n. 5
0
        public override int GetHashCode()
        {
            int hashCode = -590270970;

            hashCode = hashCode * -1521134295 + Id.GetHashCode();
            hashCode = hashCode * -1521134295 + LabBookId.GetHashCode();
            hashCode = hashCode * -1521134295 + Created.GetHashCode();
            hashCode = hashCode * -1521134295 + Updated.GetHashCode();
            hashCode = hashCode * -1521134295 + pH.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Type);

            hashCode = hashCode * -1521134295 + Brook1.GetHashCode();
            hashCode = hashCode * -1521134295 + Brook5.GetHashCode();
            hashCode = hashCode * -1521134295 + Brook10.GetHashCode();
            hashCode = hashCode * -1521134295 + Brook20.GetHashCode();
            hashCode = hashCode * -1521134295 + Brook30.GetHashCode();
            hashCode = hashCode * -1521134295 + Brook40.GetHashCode();
            hashCode = hashCode * -1521134295 + Brook50.GetHashCode();
            hashCode = hashCode * -1521134295 + Brook60.GetHashCode();
            hashCode = hashCode * -1521134295 + Brook70.GetHashCode();
            hashCode = hashCode * -1521134295 + Brook80.GetHashCode();
            hashCode = hashCode * -1521134295 + Brook90.GetHashCode();
            hashCode = hashCode * -1521134295 + Brook100.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(BrookComment);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(BrookDisc);

            hashCode = hashCode * -1521134295 + BrookXvisc.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(BrookXrpm);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(BrookXdisc);

            hashCode = hashCode * -1521134295 + Krebs.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(KrebsComment);

            hashCode = hashCode * -1521134295 + ICI.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ICIdisc);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ICIcomment);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Temperature);

            return(hashCode);
        }
Esempio n. 6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (updated_ != null)
            {
                hash ^= Updated.GetHashCode();
            }
            if (TotalIllegalHoldDates != 0)
            {
                hash ^= TotalIllegalHoldDates.GetHashCode();
            }
            hash ^= firstIllegalHoldDates_.GetHashCode();
            return(hash);
        }
 /// <summary>
 /// Liefert den Hashcode dieser Instanz.
 /// </summary>
 /// <returns>Der Hashcode der Instanz.</returns>
 public override int GetHashCode()
 {
     return(Title.GetHashCode() ^ ID.GetHashCode() ^ Updated.GetHashCode() ^ Authors.GetHashCode()
            ^ Contributors.GetHashCode() ^ Links.GetHashCode() ^ Categories.GetHashCode()
            ^ Content.GetHashCode() ^ Summary.GetHashCode() ^ Published.GetHashCode());
 }
Esempio n. 8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (TierIndex != 0)
            {
                hash ^= TierIndex.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (localizedName_ != null)
            {
                hash ^= LocalizedName.GetHashCode();
            }
            if (SecondaryTierName.Length != 0)
            {
                hash ^= SecondaryTierName.GetHashCode();
            }
            if (localizedSecondaryTierName_ != null)
            {
                hash ^= LocalizedSecondaryTierName.GetHashCode();
            }
            if (ProgramId.Length != 0)
            {
                hash ^= ProgramId.GetHashCode();
            }
            if (PassTemplateId.Length != 0)
            {
                hash ^= PassTemplateId.GetHashCode();
            }
            if (TierUpgradeMessage.Length != 0)
            {
                hash ^= TierUpgradeMessage.GetHashCode();
            }
            if (localizedTierUpgradeMessage_ != null)
            {
                hash ^= LocalizedTierUpgradeMessage.GetHashCode();
            }
            if (TierDowngradeMessage.Length != 0)
            {
                hash ^= TierDowngradeMessage.GetHashCode();
            }
            if (localizedTierDowngradeMessage_ != null)
            {
                hash ^= LocalizedTierDowngradeMessage.GetHashCode();
            }
            if (created_ != null)
            {
                hash ^= Created.GetHashCode();
            }
            if (updated_ != null)
            {
                hash ^= Updated.GetHashCode();
            }
            if (PointsOverdrawn != false)
            {
                hash ^= PointsOverdrawn.GetHashCode();
            }
            if (SecondaryPointsOverdrawn != false)
            {
                hash ^= SecondaryPointsOverdrawn.GetHashCode();
            }
            if (expirySettings_ != null)
            {
                hash ^= ExpirySettings.GetHashCode();
            }
            if (Timezone.Length != 0)
            {
                hash ^= Timezone.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }