Ejemplo n.º 1
0
 public override void SetExprHostMapMember(MapVectorLayerExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
     base.SetExprHostMapMember(exprHost, reportObjectModel);
     if (this.m_mapLineRules != null && this.ExprHostMapMember.MapLineRulesHost != null)
     {
         this.m_mapLineRules.SetExprHostMapMember(this.ExprHostMapMember.MapLineRulesHost, reportObjectModel);
     }
     if (base.MapDataRegionName != null)
     {
         if (this.m_mapLineTemplate != null && this.ExprHostMapMember.MapLineTemplateHost != null)
         {
             this.m_mapLineTemplate.SetExprHost(this.ExprHostMapMember.MapLineTemplateHost, reportObjectModel);
         }
         IList <MapLineExprHost> mapLinesHostsRemotable = this.ExprHostMapMember.MapLinesHostsRemotable;
         if (this.m_mapLines != null && mapLinesHostsRemotable != null)
         {
             for (int i = 0; i < this.m_mapLines.Count; i++)
             {
                 MapLine mapLine = this.m_mapLines[i];
                 if (mapLine != null && mapLine.ExpressionHostID > -1)
                 {
                     mapLine.SetExprHost(mapLinesHostsRemotable[mapLine.ExpressionHostID], reportObjectModel);
                 }
             }
         }
     }
 }
Ejemplo n.º 2
0
        public override object PublishClone(AutomaticSubtotalContext context)
        {
            MapLine mapLine = (MapLine)base.PublishClone(context);

            if (this.m_useCustomLineTemplate != null)
            {
                mapLine.m_useCustomLineTemplate = (ExpressionInfo)this.m_useCustomLineTemplate.PublishClone(context);
            }
            if (this.m_mapLineTemplate != null)
            {
                mapLine.m_mapLineTemplate = (MapLineTemplate)this.m_mapLineTemplate.PublishClone(context);
            }
            return(mapLine);
        }
Ejemplo n.º 3
0
 public MapLine(AspNetCore.ReportingServices.ReportIntermediateFormat.MapLine defObject, MapLineLayer mapVectorLayer, Map map)
     : base(defObject, mapVectorLayer, map)
 {
 }