Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = ExtractionJobIdentifier.GetHashCode();
         hashCode = (hashCode * 397) ^ ProjectNumber.GetHashCode();
         hashCode = (hashCode * 397) ^ ExtractionDirectory.GetHashCode();
         hashCode = (hashCode * 397) ^ JobSubmittedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ IsIdentifiableExtraction.GetHashCode();
         hashCode = (hashCode * 397) ^ IsNoFilterExtraction.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = ExtractionJobIdentifier.GetHashCode();
         hashCode = (hashCode * 397) ^ Header.GetHashCode();
         hashCode = (hashCode * 397) ^ ProjectNumber.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)JobStatus;
         hashCode = (hashCode * 397) ^ ExtractionDirectory.GetHashCode();
         hashCode = (hashCode * 397) ^ JobSubmittedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ KeyTag.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)KeyCount;
         hashCode = (hashCode * 397) ^ (ExtractionModality != null ? ExtractionModality.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ IsIdentifiableExtraction.GetHashCode();
         hashCode = (hashCode * 397) ^ IsNoFilterExtraction.GetHashCode();
         hashCode = (hashCode * 397) ^ (FailedJobInfoDoc != null ? FailedJobInfoDoc.GetHashCode() : 0);
         return hashCode;
     }
 }