public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (Domain != null) { hashCode = hashCode * 59 + Domain.GetHashCode(); } if (FitBounds != null) { hashCode = hashCode * 59 + FitBounds.GetHashCode(); } if (Resolution != null) { hashCode = hashCode * 59 + Resolution.GetHashCode(); } if (Scope != null) { hashCode = hashCode * 59 + Scope.GetHashCode(); } if (Projection != null) { hashCode = hashCode * 59 + Projection.GetHashCode(); } if (Center != null) { hashCode = hashCode * 59 + Center.GetHashCode(); } if (Visible != null) { hashCode = hashCode * 59 + Visible.GetHashCode(); } if (ShowCoastlines != null) { hashCode = hashCode * 59 + ShowCoastlines.GetHashCode(); } if (CoastlineColor != null) { hashCode = hashCode * 59 + CoastlineColor.GetHashCode(); } if (CoastlineWidth != null) { hashCode = hashCode * 59 + CoastlineWidth.GetHashCode(); } if (ShowLand != null) { hashCode = hashCode * 59 + ShowLand.GetHashCode(); } if (LandColor != null) { hashCode = hashCode * 59 + LandColor.GetHashCode(); } if (ShowOcean != null) { hashCode = hashCode * 59 + ShowOcean.GetHashCode(); } if (OceanColor != null) { hashCode = hashCode * 59 + OceanColor.GetHashCode(); } if (ShowLakes != null) { hashCode = hashCode * 59 + ShowLakes.GetHashCode(); } if (LakeColor != null) { hashCode = hashCode * 59 + LakeColor.GetHashCode(); } if (ShowRivers != null) { hashCode = hashCode * 59 + ShowRivers.GetHashCode(); } if (RiverColor != null) { hashCode = hashCode * 59 + RiverColor.GetHashCode(); } if (RiverWidth != null) { hashCode = hashCode * 59 + RiverWidth.GetHashCode(); } if (ShowCountries != null) { hashCode = hashCode * 59 + ShowCountries.GetHashCode(); } if (CountryColor != null) { hashCode = hashCode * 59 + CountryColor.GetHashCode(); } if (CountryWidth != null) { hashCode = hashCode * 59 + CountryWidth.GetHashCode(); } if (ShowSubUnits != null) { hashCode = hashCode * 59 + ShowSubUnits.GetHashCode(); } if (SubUnitColor != null) { hashCode = hashCode * 59 + SubUnitColor.GetHashCode(); } if (SubUnitWidth != null) { hashCode = hashCode * 59 + SubUnitWidth.GetHashCode(); } if (ShowFrame != null) { hashCode = hashCode * 59 + ShowFrame.GetHashCode(); } if (FrameColor != null) { hashCode = hashCode * 59 + FrameColor.GetHashCode(); } if (FrameWidth != null) { hashCode = hashCode * 59 + FrameWidth.GetHashCode(); } if (BgColor != null) { hashCode = hashCode * 59 + BgColor.GetHashCode(); } if (LonAxis != null) { hashCode = hashCode * 59 + LonAxis.GetHashCode(); } if (LaTaxis != null) { hashCode = hashCode * 59 + LaTaxis.GetHashCode(); } if (UiRevision != null) { hashCode = hashCode * 59 + UiRevision.GetHashCode(); } return(hashCode); } }