/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (Id != null) { hashCode = hashCode * 59 + Id.GetHashCode(); } if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (Category != null) { hashCode = hashCode * 59 + Category.GetHashCode(); } if (ImgBase64 != null) { hashCode = hashCode * 59 + ImgBase64.GetHashCode(); } if (ImgType != null) { hashCode = hashCode * 59 + ImgType.GetHashCode(); } if (Hotspots != null) { hashCode = hashCode * 59 + Hotspots.GetHashCode(); } return(hashCode); } }