コード例 #1
0
 internal void SetExprHost(ActionExprHost actionExprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(actionExprHost != null && reportObjectModel != null);
     m_exprHost = actionExprHost;
     m_exprHost.SetReportObjectModel(reportObjectModel);
     if (m_exprHost.DrillThroughParameterHostsRemotable != null)
     {
         Global.Tracer.Assert(m_drillthroughParameters != null);
         for (int num = m_drillthroughParameters.Count - 1; num >= 0; num--)
         {
             m_drillthroughParameters[num].SetExprHost(m_exprHost.DrillThroughParameterHostsRemotable, reportObjectModel);
         }
     }
 }
コード例 #2
0
 internal void SetExprHost(IList <ActionExprHost> actionItemExprHosts, ObjectModelImpl reportObjectModel)
 {
     if (m_exprHostID < 0)
     {
         return;
     }
     Global.Tracer.Assert(actionItemExprHosts != null && reportObjectModel != null);
     m_exprHost = actionItemExprHosts[m_exprHostID];
     m_exprHost.SetReportObjectModel(reportObjectModel);
     if (m_exprHost.DrillThroughParameterHostsRemotable != null)
     {
         Global.Tracer.Assert(m_drillthroughParameters != null);
         for (int num = m_drillthroughParameters.Count - 1; num >= 0; num--)
         {
             m_drillthroughParameters[num].SetExprHost(m_exprHost.DrillThroughParameterHostsRemotable, reportObjectModel);
         }
     }
 }