public override void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel) { if (base.ExprHostID >= 0) { Global.Tracer.Assert(reportExprHost != null && reportObjectModel != null); this.m_exprHost = reportExprHost.SubreportHostsRemotable[base.ExprHostID]; base.ReportItemSetExprHost(this.m_exprHost, reportObjectModel); if (this.m_exprHost.ParameterHostsRemotable != null) { Global.Tracer.Assert(this.m_parameters != null); for (int num = this.m_parameters.Count - 1; num >= 0; num--) { this.m_parameters[num].SetExprHost(this.m_exprHost.ParameterHostsRemotable, reportObjectModel); } } } }
internal override void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel) { if (base.ExprHostID < 0) { return; } Global.Tracer.Assert(reportExprHost != null && reportObjectModel != null, "(reportExprHost != null && reportObjectModel != null)"); m_exprHost = reportExprHost.SubreportHostsRemotable[base.ExprHostID]; ReportItemSetExprHost(m_exprHost, reportObjectModel); if (m_exprHost.ParameterHostsRemotable != null) { Global.Tracer.Assert(m_parameters != null, "(m_parameters != null)"); for (int num = m_parameters.Count - 1; num >= 0; num--) { m_parameters[num].SetExprHost(m_exprHost.ParameterHostsRemotable, reportObjectModel); } } }