public override int GetHashCode() { int FrameIndex_hashcode = FrameIndex.GetHashCode(); int SOPInstanceUID_hashcode = SOPInstanceUID.GetHashCode(); return(FrameIndex_hashcode + SOPInstanceUID_hashcode); }
public override int GetHashCode() { const int hashIndex = 307; var result = SOPInstanceUID != null?SOPInstanceUID.GetHashCode() : 0; result = (result * hashIndex) ^ (ImageNumber != null ? ImageNumber.GetHashCode() : 0); result = (result * hashIndex) ^ (ReferencedFileID != null ? ReferencedFileID.GetHashCode() : 0); return(result); }
public override int GetHashCode() { unchecked { int hashCode = (StudyInstanceUID != null ? StudyInstanceUID.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (SeriesInstanceUID != null ? SeriesInstanceUID.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (SOPInstanceUID != null ? SOPInstanceUID.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PromotedTags != null ? PromotedTags.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = (NationalPACSAccessionNumber != null ? NationalPACSAccessionNumber.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DicomFilePath != null ? DicomFilePath.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (StudyInstanceUID != null ? StudyInstanceUID.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (SeriesInstanceUID != null ? SeriesInstanceUID.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (SOPInstanceUID != null ? SOPInstanceUID.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DicomDataset != null ? DicomDataset.GetHashCode() : 0); return(hashCode); } }