public override object PublishClone(AutomaticSubtotalContext context)
        {
            MapSpatialElementTemplate mapSpatialElementTemplate = (MapSpatialElementTemplate)base.PublishClone(context);

            mapSpatialElementTemplate.m_mapVectorLayer = context.CurrentMapVectorLayerClone;
            if (this.m_action != null)
            {
                mapSpatialElementTemplate.m_action = (Action)this.m_action.PublishClone(context);
            }
            if (this.m_hidden != null)
            {
                mapSpatialElementTemplate.m_hidden = (ExpressionInfo)this.m_hidden.PublishClone(context);
            }
            if (this.m_offsetX != null)
            {
                mapSpatialElementTemplate.m_offsetX = (ExpressionInfo)this.m_offsetX.PublishClone(context);
            }
            if (this.m_offsetY != null)
            {
                mapSpatialElementTemplate.m_offsetY = (ExpressionInfo)this.m_offsetY.PublishClone(context);
            }
            if (this.m_label != null)
            {
                mapSpatialElementTemplate.m_label = (ExpressionInfo)this.m_label.PublishClone(context);
            }
            if (this.m_toolTip != null)
            {
                mapSpatialElementTemplate.m_toolTip = (ExpressionInfo)this.m_toolTip.PublishClone(context);
            }
            if (this.m_dataElementLabel != null)
            {
                mapSpatialElementTemplate.m_dataElementLabel = (ExpressionInfo)this.m_dataElementLabel.PublishClone(context);
            }
            return(mapSpatialElementTemplate);
        }
Beispiel #2
0
 public MapSpatialElementTemplate(AspNetCore.ReportingServices.ReportIntermediateFormat.MapSpatialElementTemplate defObject, MapVectorLayer mapVectorLayer, Map map)
 {
     this.m_defObject      = defObject;
     this.m_mapVectorLayer = mapVectorLayer;
     this.m_map            = map;
 }