internal override void SetExprHost(MapLayerExprHost exprHost, ObjectModelImpl reportObjectModel) { Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)"); base.SetExprHost(exprHost, reportObjectModel); if (m_mapLineRules != null && ExprHost.MapLineRulesHost != null) { m_mapLineRules.SetExprHost(ExprHost.MapLineRulesHost, reportObjectModel); } if (base.MapDataRegionName != null) { return; } if (m_mapLineTemplate != null && ExprHost.MapLineTemplateHost != null) { m_mapLineTemplate.SetExprHost(ExprHost.MapLineTemplateHost, reportObjectModel); } IList <MapLineExprHost> mapLinesHostsRemotable = ExprHost.MapLinesHostsRemotable; if (m_mapLines == null || mapLinesHostsRemotable == null) { return; } for (int i = 0; i < m_mapLines.Count; i++) { MapLine mapLine = m_mapLines[i]; if (mapLine != null && mapLine.ExpressionHostID > -1) { mapLine.SetExprHost(mapLinesHostsRemotable[mapLine.ExpressionHostID], reportObjectModel); } } }
internal void SetExprHost(MapLineExprHost exprHost, ObjectModelImpl reportObjectModel) { Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)"); SetExprHost((MapSpatialElementExprHost)exprHost, reportObjectModel); if (m_mapLineTemplate != null && ExprHost.MapLineTemplateHost != null) { m_mapLineTemplate.SetExprHost(ExprHost.MapLineTemplateHost, reportObjectModel); } }