public override object PublishClone(AutomaticSubtotalContext context) { MapColorScale mapColorScale = (MapColorScale)base.PublishClone(context); if (this.m_mapColorScaleTitle != null) { mapColorScale.m_mapColorScaleTitle = (MapColorScaleTitle)this.m_mapColorScaleTitle.PublishClone(context); } if (this.m_tickMarkLength != null) { mapColorScale.m_tickMarkLength = (ExpressionInfo)this.m_tickMarkLength.PublishClone(context); } if (this.m_colorBarBorderColor != null) { mapColorScale.m_colorBarBorderColor = (ExpressionInfo)this.m_colorBarBorderColor.PublishClone(context); } if (this.m_labelInterval != null) { mapColorScale.m_labelInterval = (ExpressionInfo)this.m_labelInterval.PublishClone(context); } if (this.m_labelFormat != null) { mapColorScale.m_labelFormat = (ExpressionInfo)this.m_labelFormat.PublishClone(context); } if (this.m_labelPlacement != null) { mapColorScale.m_labelPlacement = (ExpressionInfo)this.m_labelPlacement.PublishClone(context); } if (this.m_labelBehavior != null) { mapColorScale.m_labelBehavior = (ExpressionInfo)this.m_labelBehavior.PublishClone(context); } if (this.m_hideEndLabels != null) { mapColorScale.m_hideEndLabels = (ExpressionInfo)this.m_hideEndLabels.PublishClone(context); } if (this.m_rangeGapColor != null) { mapColorScale.m_rangeGapColor = (ExpressionInfo)this.m_rangeGapColor.PublishClone(context); } if (this.m_noDataText != null) { mapColorScale.m_noDataText = (ExpressionInfo)this.m_noDataText.PublishClone(context); } return(mapColorScale); }
public MapColorScale(AspNetCore.ReportingServices.ReportIntermediateFormat.MapColorScale defObject, Map map) : base(defObject, map) { }
public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(Map.m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.MapDataRegions: this.m_mapDataRegions = reader.ReadGenericListOfRIFObjects <MapDataRegion>(); break; case MemberName.MapViewport: this.m_mapViewport = (MapViewport)reader.ReadRIFObject(); break; case MemberName.MapLayers: this.m_mapLayers = reader.ReadGenericListOfRIFObjects <MapLayer>(); break; case MemberName.MapLegends: this.m_mapLegends = reader.ReadGenericListOfRIFObjects <MapLegend>(); break; case MemberName.MapTitles: this.m_mapTitles = reader.ReadGenericListOfRIFObjects <MapTitle>(); break; case MemberName.MapDistanceScale: this.m_mapDistanceScale = (MapDistanceScale)reader.ReadRIFObject(); break; case MemberName.MapColorScale: this.m_mapColorScale = (MapColorScale)reader.ReadRIFObject(); break; case MemberName.MapBorderSkin: this.m_mapBorderSkin = (MapBorderSkin)reader.ReadRIFObject(); break; case MemberName.PageBreakLocation: this.m_pageBreak = new PageBreak(); this.m_pageBreak.BreakLocation = (PageBreakLocation)reader.ReadEnum(); break; case MemberName.AntiAliasing: this.m_antiAliasing = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.TextAntiAliasingQuality: this.m_textAntiAliasingQuality = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.ShadowIntensity: this.m_shadowIntensity = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.MaximumSpatialElementCount: this.m_maximumSpatialElementCount = reader.ReadInt32(); break; case MemberName.MaximumTotalPointCount: this.m_maximumTotalPointCount = reader.ReadInt32(); break; case MemberName.Action: this.m_action = (Action)reader.ReadRIFObject(); break; case MemberName.TileLanguage: this.m_tileLanguage = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.PageBreak: this.m_pageBreak = (PageBreak)reader.ReadRIFObject(); break; case MemberName.PageName: this.m_pageName = (ExpressionInfo)reader.ReadRIFObject(); break; default: Global.Tracer.Assert(false); break; } } }