public void SetExprHost(ChartLegendCustomItemExprHost exprHost, ObjectModelImpl reportObjectModel)
        {
            Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
            base.SetExprHost(exprHost, reportObjectModel);
            this.m_exprHost = exprHost;
            if (this.m_marker != null && this.m_exprHost.ChartMarkerHost != null)
            {
                this.m_marker.SetExprHost(this.m_exprHost.ChartMarkerHost, reportObjectModel);
            }
            if (this.m_action != null && this.m_exprHost.ActionInfoHost != null)
            {
                this.m_action.SetExprHost(this.m_exprHost.ActionInfoHost, reportObjectModel);
            }
            IList <ChartLegendCustomItemCellExprHost> chartLegendCustomItemCellsHostsRemotable = this.m_exprHost.ChartLegendCustomItemCellsHostsRemotable;

            if (this.m_chartLegendCustomItemCells != null && chartLegendCustomItemCellsHostsRemotable != null)
            {
                for (int i = 0; i < this.m_chartLegendCustomItemCells.Count; i++)
                {
                    ChartLegendCustomItemCell chartLegendCustomItemCell = this.m_chartLegendCustomItemCells[i];
                    if (chartLegendCustomItemCell != null && chartLegendCustomItemCell.ExpressionHostID > -1)
                    {
                        chartLegendCustomItemCell.SetExprHost(chartLegendCustomItemCellsHostsRemotable[chartLegendCustomItemCell.ExpressionHostID], reportObjectModel);
                    }
                }
            }
        }
        internal void SetExprHost(ChartLegendCustomItemExprHost exprHost, ObjectModelImpl reportObjectModel)
        {
            Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
            base.SetExprHost(exprHost, reportObjectModel);
            m_exprHost = exprHost;
            if (m_marker != null && m_exprHost.ChartMarkerHost != null)
            {
                m_marker.SetExprHost(m_exprHost.ChartMarkerHost, reportObjectModel);
            }
            if (m_action != null && m_exprHost.ActionInfoHost != null)
            {
                m_action.SetExprHost(m_exprHost.ActionInfoHost, reportObjectModel);
            }
            IList <ChartLegendCustomItemCellExprHost> chartLegendCustomItemCellsHostsRemotable = m_exprHost.ChartLegendCustomItemCellsHostsRemotable;

            if (m_chartLegendCustomItemCells == null || chartLegendCustomItemCellsHostsRemotable == null)
            {
                return;
            }
            for (int i = 0; i < m_chartLegendCustomItemCells.Count; i++)
            {
                ChartLegendCustomItemCell chartLegendCustomItemCell = m_chartLegendCustomItemCells[i];
                if (chartLegendCustomItemCell != null && chartLegendCustomItemCell.ExpressionHostID > -1)
                {
                    chartLegendCustomItemCell.SetExprHost(chartLegendCustomItemCellsHostsRemotable[chartLegendCustomItemCell.ExpressionHostID], reportObjectModel);
                }
            }
        }