public override object PublishClone(AutomaticSubtotalContext context)
        {
            MapGridLines mapGridLines = (MapGridLines)base.PublishClone(context);

            if (this.m_hidden != null)
            {
                mapGridLines.m_hidden = (ExpressionInfo)this.m_hidden.PublishClone(context);
            }
            if (this.m_interval != null)
            {
                mapGridLines.m_interval = (ExpressionInfo)this.m_interval.PublishClone(context);
            }
            if (this.m_showLabels != null)
            {
                mapGridLines.m_showLabels = (ExpressionInfo)this.m_showLabels.PublishClone(context);
            }
            if (this.m_labelPosition != null)
            {
                mapGridLines.m_labelPosition = (ExpressionInfo)this.m_labelPosition.PublishClone(context);
            }
            return(mapGridLines);
        }
 public MapGridLines(AspNetCore.ReportingServices.ReportIntermediateFormat.MapGridLines defObject, Map map)
 {
     this.m_defObject = defObject;
     this.m_map       = map;
 }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(MapViewport.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.MapCoordinateSystem:
                    this.m_mapCoordinateSystem = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapProjection:
                    this.m_mapProjection = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ProjectionCenterX:
                    this.m_projectionCenterX = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ProjectionCenterY:
                    this.m_projectionCenterY = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapLimits:
                    this.m_mapLimits = (MapLimits)reader.ReadRIFObject();
                    break;

                case MemberName.MapView:
                    this.m_mapView = (MapView)reader.ReadRIFObject();
                    break;

                case MemberName.MaximumZoom:
                    this.m_maximumZoom = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MinimumZoom:
                    this.m_minimumZoom = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ContentMargin:
                    this.m_contentMargin = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.MapMeridians:
                    this.m_mapMeridians = (MapGridLines)reader.ReadRIFObject();
                    break;

                case MemberName.MapParallels:
                    this.m_mapParallels = (MapGridLines)reader.ReadRIFObject();
                    break;

                case MemberName.GridUnderContent:
                    this.m_gridUnderContent = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.SimplificationResolution:
                    this.m_simplificationResolution = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }