Example #1
0
        public override object PublishClone(AutomaticSubtotalContext context)
        {
            MapPolygonLayer mapPolygonLayer = (MapPolygonLayer)(context.CurrentMapVectorLayerClone = (MapPolygonLayer)base.PublishClone(context));

            if (this.m_mapPolygonTemplate != null)
            {
                mapPolygonLayer.m_mapPolygonTemplate = (MapPolygonTemplate)this.m_mapPolygonTemplate.PublishClone(context);
            }
            if (this.m_mapPolygonRules != null)
            {
                mapPolygonLayer.m_mapPolygonRules = (MapPolygonRules)this.m_mapPolygonRules.PublishClone(context);
            }
            if (this.m_mapCenterPointTemplate != null)
            {
                mapPolygonLayer.m_mapCenterPointTemplate = (MapPointTemplate)this.m_mapCenterPointTemplate.PublishClone(context);
            }
            if (this.m_mapCenterPointRules != null)
            {
                mapPolygonLayer.m_mapCenterPointRules = (MapPointRules)this.m_mapCenterPointRules.PublishClone(context);
            }
            if (this.m_mapPolygons != null)
            {
                mapPolygonLayer.m_mapPolygons = new List <MapPolygon>(this.m_mapPolygons.Count);
                {
                    foreach (MapPolygon mapPolygon in this.m_mapPolygons)
                    {
                        mapPolygonLayer.m_mapPolygons.Add((MapPolygon)mapPolygon.PublishClone(context));
                    }
                    return(mapPolygonLayer);
                }
            }
            return(mapPolygonLayer);
        }
Example #2
0
 public MapPolygon(MapPolygonLayer mapPolygonLayer, Map map)
     : base(mapPolygonLayer, map)
 {
 }
 public MapPolygonLayer(AspNetCore.ReportingServices.ReportIntermediateFormat.MapPolygonLayer defObject, Map map)
     : base(defObject, map)
 {
 }
 public MapPolygonTemplate(MapPolygonLayer mapPolygonLayer, Map map, int id)
     : base(mapPolygonLayer, map, id)
 {
 }