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); } }
public override int GetHashCode() { unchecked { int hashCode = MessageGuid.GetHashCode(); hashCode = (hashCode * 397) ^ ExtractionJobIdentifier.GetHashCode(); hashCode = (hashCode * 397) ^ ProducerExecutableName.GetHashCode(); hashCode = (hashCode * 397) ^ ProducerProcessID; hashCode = (hashCode * 397) ^ OriginalPublishTimestamp.GetHashCode(); hashCode = (hashCode * 397) ^ (Parents != null ? Parents.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ReceivedAt.GetHashCode(); return(hashCode); } }
protected bool Equals(MongoExtractJobDoc other) { return ExtractionJobIdentifier.Equals(other.ExtractionJobIdentifier) && Equals(Header, other.Header) && ProjectNumber == other.ProjectNumber && JobStatus == other.JobStatus && ExtractionDirectory == other.ExtractionDirectory && JobSubmittedAt.Equals(other.JobSubmittedAt) && KeyTag == other.KeyTag && KeyCount == other.KeyCount && ExtractionModality == other.ExtractionModality && IsIdentifiableExtraction == other.IsIdentifiableExtraction && IsNoFilterExtraction == other.IsNoFilterExtraction && Equals(FailedJobInfoDoc, other.FailedJobInfoDoc); }
public bool Equals(MongoExtractionMessageHeaderDoc other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(ExtractionJobIdentifier.Equals(other.ExtractionJobIdentifier) && MessageGuid.Equals(other.MessageGuid) && ProducerExecutableName == other.ProducerExecutableName && ProducerProcessID == other.ProducerProcessID && OriginalPublishTimestamp.Equals(other.OriginalPublishTimestamp) && Parents == other.Parents && ReceivedAt.Equals(other.ReceivedAt)); }
public bool Equals(ExtractMessage other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(ExtractionJobIdentifier.Equals(other.ExtractionJobIdentifier) && string.Equals(ProjectNumber, other.ProjectNumber) && string.Equals(ExtractionDirectory, other.ExtractionDirectory) && JobSubmittedAt.Equals(other.JobSubmittedAt) && IsIdentifiableExtraction == other.IsIdentifiableExtraction && IsNoFilterExtraction == other.IsNoFilterExtraction); }
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; } }