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(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); }