Esempio n. 1
0
 public void SetExprHost(ReportExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
     if (this.m_styleClass != null && this.ExprHostID >= 0)
     {
         StyleExprHost styleExprHost = null;
         if (exprHost.PageHostsRemotable != null)
         {
             styleExprHost = exprHost.PageHostsRemotable[this.ExprHostID];
         }
         else if (this.ExprHostID == 0)
         {
             styleExprHost = exprHost.PageHost;
             if (styleExprHost == null)
             {
                 return;
             }
         }
         else
         {
             Global.Tracer.Assert(false, "Missing ReportExprHost.PageHostRemotable for Page ExprHostID: {0}", this.ExprHostID);
         }
         styleExprHost.SetReportObjectModel(reportObjectModel);
         this.m_styleClass.SetStyleExprHost(styleExprHost);
     }
 }
Esempio n. 2
0
        internal void SetExprHost(ReportExprHost exprHost, ObjectModelImpl reportObjectModel)
        {
            Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
            if (m_styleClass == null || ExprHostID < 0)
            {
                return;
            }
            StyleExprHost styleExprHost = null;

            if (exprHost.PageHostsRemotable != null)
            {
                styleExprHost = exprHost.PageHostsRemotable[ExprHostID];
            }
            else if (ExprHostID == 0)
            {
                styleExprHost = exprHost.PageHost;
                if (styleExprHost == null)
                {
                    return;
                }
            }
            else
            {
                Global.Tracer.Assert(false, "Missing ReportExprHost.PageHostRemotable for Page ExprHostID: {0}", ExprHostID);
            }
            styleExprHost.SetReportObjectModel(reportObjectModel);
            m_styleClass.SetStyleExprHost(styleExprHost);
        }
Esempio n. 3
0
 public virtual void SetExprHost(StyleExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && null != reportObjectModel);
     exprHost.SetReportObjectModel(reportObjectModel);
     if (this.m_styleClass != null)
     {
         this.m_styleClass.SetStyleExprHost(exprHost);
     }
 }
 internal virtual void SetExprHost(StyleExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null);
     exprHost.SetReportObjectModel(reportObjectModel);
     if (m_styleClass != null)
     {
         m_styleClass.SetStyleExprHost(exprHost);
     }
 }
 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.PageSectionHostsRemotable[base.ExprHostID];
         m_exprHost.SetReportObjectModel(reportObjectModel);
         if (m_styleClass != null)
         {
             m_styleClass.SetStyleExprHost(m_exprHost);
         }
     }
 }