/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { var hash = 41; // Suitable nullity checks etc, of course :) if (AccountId != null) { hash = hash * 59 + AccountId.GetHashCode(); } if (Orc != null) { hash = hash * 59 + Orc.GetHashCode(); } if (Closed != null) { hash = hash * 59 + Closed.GetHashCode(); } if (Id != null) { hash = hash * 59 + Id.GetHashCode(); } if (FullImage != null) { hash = hash * 59 + FullImage.GetHashCode(); } return(hash); } }