Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (ModifiedTimestamp != null ? ModifiedTimestamp.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (CreatedIn != null ? CreatedIn.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ModifiedIn != null ? ModifiedIn.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Title != null ? Title.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Language != null ? Language.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (CcliIdentifier != null ? CcliIdentifier.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Copyright != null ? Copyright.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ReleaseYear != null ? ReleaseYear.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Authors != null ? Authors.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (RightsManagement != null ? RightsManagement.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Publisher != null ? Publisher.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Version != null ? Version.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Key != null ? Key.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Transposition;
         hashCode = (hashCode * 397) ^ (Tempo != null ? Tempo.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Variant != null ? Variant.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Themes != null ? Themes.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Comment != null ? Comment.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SongBooks != null ? SongBooks.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Parts != null ? Parts.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (PartSequence != null ? PartSequence.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (QualityIssues != null ? QualityIssues.GetHashCode() : 0);
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ (Brand != null ? Brand.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Copyright != null ? Copyright.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Avatar != null ? Avatar.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Github != null ? Github.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Linkedin != null ? Linkedin.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Twitter != null ? Twitter.GetHashCode() : 0);
         return(hashCode);
     }
 }
Exemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (CcliIdentifier != null ? CcliIdentifier.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Title != null ? Title.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Author != null ? Author.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Copyright != null ? Copyright.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Admin != null ? Admin.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Themes != null ? Themes.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Key != null ? Key.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Verses != null ? Verses.GetHashCode() : 0);
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (ModifiedTimestamp != null ? ModifiedTimestamp.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (CreatedIn != null ? CreatedIn.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ModifiedIn != null ? ModifiedIn.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Title != null ? Title.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (CcliIdentifier != null ? CcliIdentifier.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Copyright != null ? Copyright.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ReleaseYear != null ? ReleaseYear.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Comments != null ? Comments.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Verses != null ? Verses.GetHashCode() : 0);
         return(hashCode);
     }
 }
Exemplo n.º 5
0
        /// <inheritdoc/>
        public override int GetHashCode()
        {
            // Overflow is fine, just wrap.
            unchecked
            {
                int hash = 17;

                hash *= 23 + ApplicationName.GetHashCode();
                hash *= 23 + ApplicationSystemId.GetHashCode();
                hash *= 23 + ApplicationVersion.GetHashCode();
                hash *= 23 + ContentDescription.GetHashCode();
                hash *= 23 + Copyright.GetHashCode();
                hash *= 23 + Corporation.GetHashCode();
                hash *= 23 + CorporationAddress.GetHashCode();
                hash *= 23 + Filename.GetHashCode();
                hash *= 23 + Language.GetHashCode();
                hash *= 23 + SourceCopyright.GetHashCode();
                hash *= 23 + SourceDate.GetHashCode();
                hash *= 23 + SourceName.GetHashCode();
                hash *= 23 + TransmissionDate.GetHashCode();

                return(hash);
            }
        }