/// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         int hashCode = 41;
         if (Error != null)
         {
             hashCode = hashCode * 59 + Error.GetHashCode();
         }
         hashCode = hashCode * 59 + RemainingTokens.GetHashCode();
         hashCode = hashCode * 59 + PageCount.GetHashCode();
         if (Version != null)
         {
             hashCode = hashCode * 59 + Version.GetHashCode();
         }
         if (Author != null)
         {
             hashCode = hashCode * 59 + Author.GetHashCode();
         }
         if (Title != null)
         {
             hashCode = hashCode * 59 + Title.GetHashCode();
         }
         if (Subject != null)
         {
             hashCode = hashCode * 59 + Subject.GetHashCode();
         }
         if (Producer != null)
         {
             hashCode = hashCode * 59 + Producer.GetHashCode();
         }
         if (Metadata != null)
         {
             hashCode = hashCode * 59 + Metadata.GetHashCode();
         }
         if (Keywords != null)
         {
             hashCode = hashCode * 59 + Keywords.GetHashCode();
         }
         hashCode = hashCode * 59 + HasUserPassword.GetHashCode();
         hashCode = hashCode * 59 + HasOwnerPassword.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 (Error != null)
         {
             hashCode = hashCode * 59 + Error.GetHashCode();
         }
         hashCode = hashCode * 59 + RemainingTokens.GetHashCode();
         if (ClonedImages != null)
         {
             hashCode = hashCode * 59 + ClonedImages.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 (Error != null)
         {
             hashCode = hashCode * 59 + Error.GetHashCode();
         }
         hashCode = hashCode * 59 + RemainingTokens.GetHashCode();
         if (ColorDetectionResults != null)
         {
             hashCode = hashCode * 59 + ColorDetectionResults.GetHashCode();
         }
         return(hashCode);
     }
 }
Exemplo n.º 4
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 (Error != null)
         {
             hashCode = hashCode * 59 + Error.GetHashCode();
         }
         hashCode = hashCode * 59 + RemainingTokens.GetHashCode();
         if (ExtractedText != null)
         {
             hashCode = hashCode * 59 + ExtractedText.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 (Error != null)
         {
             hashCode = hashCode * 59 + Error.GetHashCode();
         }
         hashCode = hashCode * 59 + RemainingTokens.GetHashCode();
         hashCode = hashCode * 59 + PageCount.GetHashCode();
         if (ThumbnailData != null)
         {
             hashCode = hashCode * 59 + ThumbnailData.GetHashCode();
         }
         hashCode = hashCode * 59 + DocumentFormat.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 6
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 (Error != null)
         {
             hashCode = hashCode * 59 + Error.GetHashCode();
         }
         hashCode = hashCode * 59 + RemainingTokens.GetHashCode();
         if (FileIds != null)
         {
             hashCode = hashCode * 59 + FileIds.GetHashCode();
         }
         if (FileData != null)
         {
             hashCode = hashCode * 59 + FileData.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 (Error != null)
         {
             hashCode = hashCode * 59 + Error.GetHashCode();
         }
         hashCode = hashCode * 59 + RemainingTokens.GetHashCode();
         if (Content != null)
         {
             hashCode = hashCode * 59 + Content.GetHashCode();
         }
         if (ContentType != null)
         {
             hashCode = hashCode * 59 + ContentType.GetHashCode();
         }
         return(hashCode);
     }
 }
Exemplo n.º 8
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 (Error != null)
         {
             hashCode = hashCode * 59 + Error.GetHashCode();
         }
         hashCode = hashCode * 59 + RemainingTokens.GetHashCode();
         if (ErrorInfo != null)
         {
             hashCode = hashCode * 59 + ErrorInfo.GetHashCode();
         }
         if (WarningsInfo != null)
         {
             hashCode = hashCode * 59 + WarningsInfo.GetHashCode();
         }
         hashCode = hashCode * 59 + ContentRemoved.GetHashCode();
         hashCode = hashCode * 59 + VersionChanged.GetHashCode();
         hashCode = hashCode * 59 + NewFileSize.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 9
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 (Error != null)
         {
             hashCode = hashCode * 59 + Error.GetHashCode();
         }
         hashCode = hashCode * 59 + RemainingTokens.GetHashCode();
         if (FileId != null)
         {
             hashCode = hashCode * 59 + FileId.GetHashCode();
         }
         hashCode = hashCode * 59 + PageCount.GetHashCode();
         hashCode = hashCode * 59 + Encryption.GetHashCode();
         hashCode = hashCode * 59 + PasswordIsRequired.GetHashCode();
         if (ThumbnailData != null)
         {
             hashCode = hashCode * 59 + ThumbnailData.GetHashCode();
         }
         return(hashCode);
     }
 }