Exemplo n.º 1
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (Filename != null)
         {
             hashCode = hashCode * 59 + Filename.GetHashCode();
         }
         if (Documentbody != null)
         {
             hashCode = hashCode * 59 + Documentbody.GetHashCode();
         }
         if (Subject != null)
         {
             hashCode = hashCode * 59 + Subject.GetHashCode();
         }
         if (ObjectidCatGtmattachmentsodataBind != null)
         {
             hashCode = hashCode * 59 + ObjectidCatGtmattachmentsodataBind.GetHashCode();
         }
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Filename != null ? Filename.GetHashCode() : 0) ^ (Additions != null ? Additions.GetHashCode() : 0) ^ (Deletions != null ? Deletions.GetHashCode() : 0) ^ (Changes != null ? Changes.GetHashCode() : 0) ^ (Status != null ? Status.GetHashCode() : 0) ^ (RawUrl != null ? RawUrl.GetHashCode() : 0) ^ (BlobUrl != null ? BlobUrl.GetHashCode() : 0) ^ (Patch != null ? Patch.GetHashCode() : 0) ^ (ContentsUrl != null ? ContentsUrl.GetHashCode() : 0));
     }
 }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         int hashCode = 41;
         if (Name != null)
         {
             hashCode = hashCode * 59 + Name.GetHashCode();
         }
         if (Filename != null)
         {
             hashCode = hashCode * 59 + Filename.GetHashCode();
         }
         if (Id != null)
         {
             hashCode = hashCode * 59 + Id.GetHashCode();
         }
         if (Block != null)
         {
             hashCode = hashCode * 59 + Block.GetHashCode();
         }
         if (Source != null)
         {
             hashCode = hashCode * 59 + Source.GetHashCode();
         }
         if (SourceEdited != null)
         {
             hashCode = hashCode * 59 + SourceEdited.GetHashCode();
         }
         return(hashCode);
     }
 }
Exemplo n.º 4
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Size != null ? Size.GetHashCode() : 0) ^ (Filename != null ? Filename.GetHashCode() : 0) ^ (RawUrl != null ? RawUrl.GetHashCode() : 0) ^ (Content != null ? Content.GetHashCode() : 0) ^ (Type != null ? Type.GetHashCode() : 0) ^ (Language != null ? Language.GetHashCode() : 0));
     }
 }
Exemplo n.º 5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Filename.Length != 0)
            {
                hash ^= Filename.GetHashCode();
            }
            if (LastWriteUTCTicks != 0L)
            {
                hash ^= LastWriteUTCTicks.GetHashCode();
            }
            if (StorageTier != 0)
            {
                hash ^= StorageTier.GetHashCode();
            }
            if (Md5.Length != 0)
            {
                hash ^= Md5.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 6
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Volume;
         hashCode = (hashCode * 397) ^ Pitch;
         return(hashCode);
     }
 }
Exemplo n.º 7
0
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ IsHardcore.GetHashCode();
         hashCode = (hashCode * 397) ^ (Mod != null ? Mod.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ IsExpansion1.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 8
0
 /// <summary>
 /// The HashCode for the FileAttachment.
 /// </summary>
 /// <returns>Returns the HashCode for the FileAttachment.</returns>
 /// <remarks>E.g. necessary for HashSet&lt;FileAttachment&gt;.</remarks>
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (DisplayName != null ? DisplayName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (MimeType != null ? MimeType.GetHashCode() : 0);
         return(hashCode);
     }
 }
Exemplo n.º 9
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = (int)2166136261;
         hash = (hash * 16777619) ^ Total.GetHashCode();
         hash = (hash * 16777619) ^ (Filename != null ? Filename.GetHashCode() : 0);
         return((hash * 16777619) ^ (Coverage != null ? Coverage.GetHashCode() : 0));
     }
 }
Exemplo n.º 10
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Translation != null ? Translation.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)Rotation;
         return(hashCode);
     }
 }
Exemplo n.º 11
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)Flags;
         hashCode = (hashCode * 397) ^ (int)Type;
         return(hashCode);
     }
 }
Exemplo n.º 12
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = Filename != null?Filename.GetHashCode() : 0;

                hashCode = (hashCode * 397) ^ (Size != null ? Size.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Link != null ? Link.GetHashCode() : 0);
                return(hashCode);
            }
        }
Exemplo n.º 13
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = (int)2166136261;
         hash = (hash * 16777619) ^ Source.GetHashCode();
         hash = (hash * 16777619) ^ Filename.GetHashCode();
         hash = (hash * 16777619) ^ UpToDate.GetHashCode();
         return(hash);
     }
 }
Exemplo n.º 14
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Id;
         hashCode = (hashCode * 397) ^ (Extension != null ? Extension.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Path != null ? Path.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (FullName != null ? FullName.GetHashCode() : 0);
         return(hashCode);
     }
 }
Exemplo n.º 15
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = ProjectNumber;
         hashCode = (hashCode * 397) ^ (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Line;
         hashCode = (hashCode * 397) ^ Column;
         hashCode = (hashCode * 397) ^ (Text != null ? Text.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ErrorType.GetHashCode();
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Source != global::Budget.Data.Events.UploadSpreadsheetEvent.Types.SpreadsheetSource.UNKNOWN)
            {
                hash ^= Source.GetHashCode();
            }
            if (Filename.Length != 0)
            {
                hash ^= Filename.GetHashCode();
            }
            hash ^= rows_.GetHashCode();
            return(hash);
        }
Exemplo n.º 17
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = CreatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ UpdatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ (DownloadLink != null ? DownloadLink.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (FileId != null ? FileId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Hash != null ? Hash.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (MimeType != null ? MimeType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Size != null ? Size.Value : 0);
         return(hashCode);
     }
 }
Exemplo n.º 18
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (FullPath != null ? FullPath.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Extension != null ? Extension.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (FormatName != null ? FormatName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BitRate != null ? BitRate.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ FileSize.GetHashCode();
         hashCode = (hashCode * 397) ^ DurationInSecs.GetHashCode();
         hashCode = (hashCode * 397) ^ VideoStream.GetHashCode();
         hashCode = (hashCode * 397) ^ AudioStream.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 19
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (Id != null ? Id.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ VersionCounter.GetHashCode();
         hashCode = (hashCode * 397) ^ Created.GetHashCode();
         hashCode = (hashCode * 397) ^ LastUpdated.GetHashCode();
         hashCode = (hashCode * 397) ^ (CreatedBy != null ? CreatedBy.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ContentType != null ? ContentType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Filename != null ? Filename.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Url != null ? Url.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Size.GetHashCode();
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hashCode = 868250934;

            if (Filename != null)
            {
                hashCode += Filename.GetHashCode();
            }

            if (Filetype != null)
            {
                hashCode += Filetype.GetHashCode();
            }

            return(hashCode);
        }
Exemplo n.º 21
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = _logger.GetHashCode();
         hashCode = (hashCode * 397) ^ StagingPercentage.GetHashCode();
         hashCode = (hashCode * 397) ^ (Tag != null ? Tag.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ SHA256.GetHashCode();
         hashCode = (hashCode * 397) ^ Filename.GetHashCode();
         hashCode = (hashCode * 397) ^ Filesize.GetHashCode();
         hashCode = (hashCode * 397) ^ IsDelta.GetHashCode();
         hashCode = (hashCode * 397) ^ Version.GetHashCode();
         hashCode = (hashCode * 397) ^ (OldVersion != null ? OldVersion.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ FileLocation.GetHashCode();
         return(hashCode);
     }
 }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (Filename != null)
         {
             hashCode = hashCode * 59 + Filename.GetHashCode();
         }
         if (Data != null)
         {
             hashCode = hashCode * 59 + Data.GetHashCode();
         }
         return(hashCode);
     }
 }
Exemplo n.º 23
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= logs_.GetHashCode();
            if (ContextFlow.Length != 0)
            {
                hash ^= ContextFlow.GetHashCode();
            }
            if (Filename.Length != 0)
            {
                hash ^= Filename.GetHashCode();
            }
            if (Source.Length != 0)
            {
                hash ^= Source.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 24
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);
            }
        }
Exemplo n.º 25
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Level != 0)
            {
                hash ^= Level.GetHashCode();
            }
            if (Seconds != 0L)
            {
                hash ^= Seconds.GetHashCode();
            }
            hash ^= imgs_.GetHashCode();
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (Hostaddress.Length != 0)
            {
                hash ^= Hostaddress.GetHashCode();
            }
            if (Hostport != 0)
            {
                hash ^= Hostport.GetHashCode();
            }
            if (Filename.Length != 0)
            {
                hash ^= Filename.GetHashCode();
            }
            hash ^= annoImgs_.GetHashCode();
            return(hash);
        }
Exemplo n.º 26
0
 public override int GetHashCode()
 {
     return(Filename.GetHashCode());
 }
Exemplo n.º 27
0
 public override int GetHashCode()
 {
     return(Filename.GetHashCode() ^ Message.GetHashCode() ^ Text.GetHashCode() ^ (StartIndex).GetHashCode());
 }
Exemplo n.º 28
0
 public override int GetHashCode()
 {
     return(Filename?.GetHashCode() ?? 0);
 }
Exemplo n.º 29
0
 public override int GetHashCode() => LineNumber.GetHashCode() +
 Filename.GetHashCode() +
 SourceString.GetHashCode();
Exemplo n.º 30
0
 public override int GetHashCode()
 {
     return(Filename != null ? Filename.GetHashCode() : 0);
 }