Beispiel #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);
 }
Beispiel #2
0
 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));
 }
Beispiel #3
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);
        }