Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((NationalPACSAccessionNumber != null ? NationalPACSAccessionNumber.GetHashCode() : 0) * 397) ^ (DirectoryPath != null ? DirectoryPath.GetHashCode() : 0));
     }
 }
Ejemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (NationalPACSAccessionNumber != null ? NationalPACSAccessionNumber.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (DirectoryPath != null ? DirectoryPath.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (StudyInstanceUID != null ? StudyInstanceUID.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SeriesInstanceUID != null ? SeriesInstanceUID.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ImagesInSeries;
         hashCode = (hashCode * 397) ^ (DicomDataset != null ? DicomDataset.GetHashCode() : 0);
         return(hashCode);
     }
 }