Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FileId.Length != 0)
            {
                hash ^= FileId.GetHashCode();
            }
            if (Intent != global::TournamentAssistantShared.Models.Packets.File.Types.Intentions.None)
            {
                hash ^= Intent.GetHashCode();
            }
            if (Compressed != false)
            {
                hash ^= Compressed.GetHashCode();
            }
            if (Data.Length != 0)
            {
                hash ^= Data.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         int hashCode = 41;
         if (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (OwnerPassword != null)
         {
             hashCode = hashCode * 59 + OwnerPassword.GetHashCode();
         }
         if (UserPassword != null)
         {
             hashCode = hashCode * 59 + UserPassword.GetHashCode();
         }
         hashCode = hashCode * 59 + Encryption.GetHashCode();
         hashCode = hashCode * 59 + CanPrint.GetHashCode();
         hashCode = hashCode * 59 + CanCopy.GetHashCode();
         hashCode = hashCode * 59 + CanModify.GetHashCode();
         hashCode = hashCode * 59 + CanAddNotes.GetHashCode();
         hashCode = hashCode * 59 + CanFillFields.GetHashCode();
         hashCode = hashCode * 59 + CanCopyAccess.GetHashCode();
         hashCode = hashCode * 59 + CanAssemble.GetHashCode();
         hashCode = hashCode * 59 + CanPrintFull.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + Font.GetHashCode();
         hashCode = hashCode * 59 + Context.GetHashCode();
         if (WhiteList != null)
         {
             hashCode = hashCode * 59 + WhiteList.GetHashCode();
         }
         hashCode = hashCode * 59 + RoiLeft.GetHashCode();
         hashCode = hashCode * 59 + RoiTop.GetHashCode();
         hashCode = hashCode * 59 + RoiWidth.GetHashCode();
         hashCode = hashCode * 59 + RoiHeight.GetHashCode();
         hashCode = hashCode * 59 + ExpectedSymbolsCount.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         if (ImageData != null)
         {
             hashCode = hashCode * 59 + ImageData.GetHashCode();
         }
         if (ImageFileId != null)
         {
             hashCode = hashCode * 59 + ImageFileId.GetHashCode();
         }
         hashCode = hashCode * 59 + Quality.GetHashCode();
         hashCode = hashCode * 59 + ColorImageCompression.GetHashCode();
         hashCode = hashCode * 59 + BitonalCompression.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #5
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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + Format.GetHashCode();
         if (Layout != null)
         {
             hashCode = hashCode * 59 + Layout.GetHashCode();
         }
         if (TextParameters != null)
         {
             hashCode = hashCode * 59 + TextParameters.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + RoiLeft.GetHashCode();
         hashCode = hashCode * 59 + RoiTop.GetHashCode();
         hashCode = hashCode * 59 + RoiWidth.GetHashCode();
         hashCode = hashCode * 59 + RoiHeight.GetHashCode();
         hashCode = hashCode * 59 + GammaCorrection.GetHashCode();
         hashCode = hashCode * 59 + Brightness.GetHashCode();
         hashCode = hashCode * 59 + Contrast.GetHashCode();
         hashCode = hashCode * 59 + Saturation.GetHashCode();
         hashCode = hashCode * 59 + AutoContrastEnhancement.GetHashCode();
         hashCode = hashCode * 59 + ContrastHistogramStretch.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + RoiLeft.GetHashCode();
         hashCode = hashCode * 59 + RoiTop.GetHashCode();
         hashCode = hashCode * 59 + RoiWidth.GetHashCode();
         hashCode = hashCode * 59 + RoiHeight.GetHashCode();
         hashCode = hashCode * 59 + ScanMode.GetHashCode();
         hashCode = hashCode * 59 + ScanBarcode1D.GetHashCode();
         hashCode = hashCode * 59 + ScanBarcodeQR.GetHashCode();
         hashCode = hashCode * 59 + ScanBarcodeMicroQR.GetHashCode();
         hashCode = hashCode * 59 + ScanBarcodePDF417.GetHashCode();
         hashCode = hashCode * 59 + ScanBarcodeDataMatrix.GetHashCode();
         hashCode = hashCode * 59 + ScanBarcodeAztec.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #8
0
            public override int GetHashCode()
            {
                var hash = 23;

                hash = (hash * 31) + FileId.GetHashCode();
                hash = (hash * 31) + Line.GetHashCode();
                return(hash);
            }
Beispiel #9
0
 /// <summary>
 /// Gets the hash code for the FileSmbProperties.
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 => FileAttributes.GetHashCode()
 ^ FilePermissionKey.GetHashCode()
 ^ FileCreationTime.GetHashCode()
 ^ FileLastWriteTime.GetHashCode()
 ^ FileChangeTime.GetHashCode()
 ^ FileId.GetHashCode()
 ^ ParentId.GetHashCode();
Beispiel #10
0
        public override int GetHashCode()
        {
            int hashCode = 390124324;

            hashCode = hashCode * -1521134295 + FileId.GetHashCode();
            hashCode = hashCode * -1521134295 + IndexId.GetHashCode();

            return(hashCode);
        }
Beispiel #11
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = (int)2166136261;
         hash = (hash * 16777619) ^ CoveragePercent.GetHashCode();
         hash = (hash * 16777619) ^ FileId.GetHashCode();
         return((hash * 16777619) ^ (CoveredLines != null ? CoveredLines.GetHashCode() : 0));
     }
 }
 public override int GetHashCode() {
   int hash = 1;
   if (Version.Length != 0) hash ^= Version.GetHashCode();
   if (Id.Length != 0) hash ^= Id.GetHashCode();
   if (CreatedDT.Length != 0) hash ^= CreatedDT.GetHashCode();
   if (ModifiedDT.Length != 0) hash ^= ModifiedDT.GetHashCode();
   if (FileId.Length != 0) hash ^= FileId.GetHashCode();
   if (Index != 0) hash ^= Index.GetHashCode();
   if (Content.Length != 0) hash ^= Content.GetHashCode();
   return hash;
 }
Beispiel #13
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ ProjectId.GetHashCode();
         hashCode = (hashCode * 397) ^ ExperimentId.GetHashCode();
         hashCode = (hashCode * 397) ^ FileId.GetHashCode();
         hashCode = (hashCode * 397) ^ RunStartTime.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #14
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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         hashCode = hashCode * 59 + PackDocument.GetHashCode();
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (ServerUrl != null ? ServerUrl.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ProjectId.GetHashCode();
         hashCode = (hashCode * 397) ^ ExperimentId.GetHashCode();
         hashCode = (hashCode * 397) ^ FileId.GetHashCode();
         hashCode = (hashCode * 397) ^ (Path != null ? Path.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Username != null ? Username.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ RunStartTime.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         hashCode = hashCode * 59 + SplitMethod.GetHashCode();
         hashCode = hashCode * 59 + SplitValue.GetHashCode();
         hashCode = hashCode * 59 + ImmediateDownload.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #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);
     }
 }
Beispiel #18
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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         hashCode = hashCode * 59 + Conformance.GetHashCode();
         hashCode = hashCode * 59 + AllowVectorization.GetHashCode();
         hashCode = hashCode * 59 + AllowRasterization.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         hashCode = hashCode * 59 + PageNumber.GetHashCode();
         hashCode = hashCode * 59 + PageCount.GetHashCode();
         hashCode = hashCode * 59 + Width.GetHashCode();
         hashCode = hashCode * 59 + Height.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (ImageRegions != null)
         {
             hashCode = hashCode * 59 + ImageRegions.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (Password != null)
         {
             hashCode = hashCode * 59 + Password.GetHashCode();
         }
         return(hashCode);
     }
 }
Beispiel #22
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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (SourcePageRange != null)
         {
             hashCode = hashCode * 59 + SourcePageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + DestinationPage.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + RemoveOnlyHiddenText.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + ScaleX.GetHashCode();
         hashCode = hashCode * 59 + ScaleY.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + Compression.GetHashCode();
         hashCode = hashCode * 59 + JpegQuality.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #26
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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + ExtractAsSeparate.GetHashCode();
         hashCode = hashCode * 59 + ImmediateDownload.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + MaxAngleOfResearch.GetHashCode();
         hashCode = hashCode * 59 + Optimistic.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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + ThumbnailWidth.GetHashCode();
         hashCode = hashCode * 59 + ThumbnailHeight.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #29
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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + AutoConvert.GetHashCode();
         hashCode = hashCode * 59 + AutoRepairCharacters.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #30
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 (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         if (PageRange != null)
         {
             hashCode = hashCode * 59 + PageRange.GetHashCode();
         }
         hashCode = hashCode * 59 + RotationAngle.GetHashCode();
         hashCode = hashCode * 59 + FlipHorizontally.GetHashCode();
         hashCode = hashCode * 59 + FlipVertically.GetHashCode();
         return(hashCode);
     }
 }