Ejemplo n.º 1
0
 internal override void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel)
 {
     if (base.ExprHostID >= 0)
     {
         Global.Tracer.Assert(reportExprHost != null && reportObjectModel != null, "(reportExprHost != null && reportObjectModel != null)");
         m_exprHost = reportExprHost.ImageHostsRemotable[base.ExprHostID];
         ReportItemSetExprHost(m_exprHost, reportObjectModel);
         if (m_action != null && m_exprHost.ActionInfoHost != null)
         {
             m_action.SetExprHost(m_exprHost.ActionInfoHost, reportObjectModel);
         }
     }
 }
Ejemplo n.º 2
0
 public override void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel)
 {
     if (base.ExprHostID >= 0)
     {
         Global.Tracer.Assert(reportExprHost != null && reportObjectModel != null);
         this.m_exprHost = reportExprHost.ImageHostsRemotable[base.ExprHostID];
         base.ReportItemSetExprHost(this.m_exprHost, reportObjectModel);
         if (this.m_action != null)
         {
             if (this.m_exprHost.ActionInfoHost != null)
             {
                 this.m_action.SetExprHost(this.m_exprHost.ActionInfoHost, reportObjectModel);
             }
             else if (this.m_exprHost.ActionHost != null)
             {
                 this.m_action.SetExprHost(this.m_exprHost.ActionHost, reportObjectModel);
             }
         }
     }
 }