コード例 #1
0
 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);
 }
コード例 #2
0
        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);
        }