internal Parameter(ActionDrillthrough actionDef, Microsoft.ReportingServices.ReportIntermediateFormat.ParameterValue parameterDef)
 {
     m_name         = parameterDef.Name;
     m_actionDef    = actionDef;
     m_parameterDef = parameterDef;
     m_instance     = new ParameterInstance(this);
 }
 private static void EvaluateActionParameters(ActionDrillthrough actionDrillthroughSource, ActionDrillthrough actionDrillthroughDestination)
 {
     if (actionDrillthroughSource.Parameters == null)
     {
         return;
     }
     foreach (Parameter parameter2 in actionDrillthroughSource.Parameters)
     {
         Parameter parameter = actionDrillthroughDestination.CreateParameter(parameter2.Name);
         if (!parameter2.Value.IsExpression)
         {
             parameter.Instance.Value = parameter2.Value.Value;
         }
         else
         {
             parameter.Instance.Value = parameter2.Instance.Value;
         }
         if (!parameter2.Omit.IsExpression)
         {
             parameter.Instance.Omit = parameter2.Omit.Value;
         }
         else
         {
             parameter.Instance.Omit = parameter2.Instance.Omit;
         }
     }
 }
        internal Parameter Add(ActionDrillthrough owner, Microsoft.ReportingServices.ReportIntermediateFormat.ParameterValue paramDef)
        {
            Parameter parameter = new Parameter(owner, paramDef);

            m_list.Add(parameter);
            return(parameter);
        }
 internal ActionDrillthroughInstance(IReportScope reportScope, ActionDrillthrough actionDef, int index)
     : base(reportScope)
 {
     m_isOldSnapshot = false;
     m_actionDef     = actionDef;
     m_index         = index;
 }
 internal Parameter(ActionDrillthrough actionDef, Microsoft.ReportingServices.ReportProcessing.ParameterValue parameterDef, ActionItemInstance actionInstance, int index)
 {
     m_name      = parameterDef.Name;
     m_value     = new ReportVariantProperty(parameterDef.Value);
     m_omit      = new ReportBoolProperty(parameterDef.Omit);
     m_actionDef = actionDef;
     m_instance  = new ParameterInstance(actionInstance, index);
 }
        internal ParameterCollection(ActionDrillthrough actionDef, List <Microsoft.ReportingServices.ReportIntermediateFormat.ParameterValue> parameters)
        {
            m_isOldSnapshot = false;
            m_actionDef     = actionDef;
            if (parameters == null)
            {
                m_list = new List <Parameter>();
                return;
            }
            int count = parameters.Count;

            m_list = new List <Parameter>(count);
            for (int i = 0; i < count; i++)
            {
                m_list.Add(new Parameter(actionDef, parameters[i]));
            }
        }
        internal ParameterCollection(ActionDrillthrough actionDef, NameValueCollection drillthroughParameters, DrillthroughParameters parametersNameObjectCollection, ParameterValueList parameters, ActionItemInstance actionInstance)
        {
            m_isOldSnapshot                  = true;
            m_actionDef                      = actionDef;
            m_drillthroughParameters         = drillthroughParameters;
            m_parametersNameObjectCollection = parametersNameObjectCollection;
            if (parameters == null)
            {
                m_list = new List <Parameter>();
                return;
            }
            int count = parameters.Count;

            m_list = new List <Parameter>(count);
            for (int i = 0; i < count; i++)
            {
                m_list.Add(new Parameter(actionDef, parameters[i], actionInstance, i));
            }
        }