public override object PublishClone(AutomaticSubtotalContext context)
        {
            MapLineLayer mapLineLayer = (MapLineLayer)(context.CurrentMapVectorLayerClone = (MapLineLayer)base.PublishClone(context));

            if (this.m_mapLineTemplate != null)
            {
                mapLineLayer.m_mapLineTemplate = (MapLineTemplate)this.m_mapLineTemplate.PublishClone(context);
            }
            if (this.m_mapLineRules != null)
            {
                mapLineLayer.m_mapLineRules = (MapLineRules)this.m_mapLineRules.PublishClone(context);
            }
            if (this.m_mapLines != null)
            {
                mapLineLayer.m_mapLines = new List <MapLine>(this.m_mapLines.Count);
                {
                    foreach (MapLine mapLine in this.m_mapLines)
                    {
                        mapLineLayer.m_mapLines.Add((MapLine)mapLine.PublishClone(context));
                    }
                    return(mapLineLayer);
                }
            }
            return(mapLineLayer);
        }
Esempio n. 2
0
 public MapLine(MapLineLayer mapLineLayer, Map map)
     : base(mapLineLayer, map)
 {
 }
 public MapLineLayer(AspNetCore.ReportingServices.ReportIntermediateFormat.MapLineLayer defObject, Map map)
     : base(defObject, map)
 {
 }
 public MapLineTemplate(MapLineLayer mapLineLayer, Map map, int id)
     : base(mapLineLayer, map, id)
 {
 }