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); } } } } }
internal override void SetExprHostMapMember(MapVectorLayerExprHost exprHost, ObjectModelImpl reportObjectModel) { Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)"); base.SetExprHostMapMember(exprHost, reportObjectModel); if (m_mapPointRules != null && ExprHostMapMember.MapPointRulesHost != null) { m_mapPointRules.SetExprHostMapMember(ExprHostMapMember.MapPointRulesHost, reportObjectModel); } if (base.MapDataRegionName == null) { return; } if (m_mapPointTemplate != null && ExprHostMapMember.MapPointTemplateHost != null) { m_mapPointTemplate.SetExprHost(ExprHostMapMember.MapPointTemplateHost, reportObjectModel); } IList <MapPointExprHost> mapPointsHostsRemotable = ExprHostMapMember.MapPointsHostsRemotable; if (m_mapPoints == null || mapPointsHostsRemotable == null) { return; } for (int i = 0; i < m_mapPoints.Count; i++) { MapPoint mapPoint = m_mapPoints[i]; if (mapPoint != null && mapPoint.ExpressionHostID > -1) { mapPoint.SetExprHost(mapPointsHostsRemotable[mapPoint.ExpressionHostID], reportObjectModel); } } }
public virtual void SetExprHostMapMember(MapVectorLayerExprHost exprHost, ObjectModelImpl reportObjectModel) { Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)"); this.m_exprHostMapMember = exprHost; this.m_exprHostMapMember.SetReportObjectModel(reportObjectModel); IList <MapBindingFieldPairExprHost> mapBindingFieldPairsHostsRemotable = this.ExprHostMapMember.MapBindingFieldPairsHostsRemotable; if (this.m_mapBindingFieldPairs != null && mapBindingFieldPairsHostsRemotable != null) { for (int i = 0; i < this.m_mapBindingFieldPairs.Count; i++) { MapBindingFieldPair mapBindingFieldPair = this.m_mapBindingFieldPairs[i]; if (mapBindingFieldPair != null && mapBindingFieldPair.ExpressionHostMapMemberID > -1) { mapBindingFieldPair.SetExprHostMapMember(mapBindingFieldPairsHostsRemotable[mapBindingFieldPair.ExpressionHostMapMemberID], reportObjectModel); } } } if (this.m_mapSpatialData != null && this.ExprHostMapMember.MapSpatialDataHost != null) { this.m_mapSpatialData.SetExprHostMapMember(this.ExprHostMapMember.MapSpatialDataHost, reportObjectModel); } }