public object PublishClone(AutomaticSubtotalContext context)
        {
            ChartFormulaParameter chartFormulaParameter = (ChartFormulaParameter)base.MemberwiseClone();

            chartFormulaParameter.m_chart = (Chart)context.CurrentDataRegionClone;
            if (this.m_value != null)
            {
                chartFormulaParameter.m_value = (ExpressionInfo)this.m_value.PublishClone(context);
            }
            return(chartFormulaParameter);
        }
        public void SetExprHost(ChartDerivedSeriesExprHost exprHost, ObjectModelImpl reportObjectModel)
        {
            Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
            this.m_exprHost = exprHost;
            this.m_exprHost.SetReportObjectModel(reportObjectModel);
            if (this.m_series != null && this.m_exprHost.ChartSeriesHost != null)
            {
                this.m_series.SetExprHost(this.m_exprHost.ChartSeriesHost, reportObjectModel);
            }
            IList <ChartFormulaParameterExprHost> chartFormulaParametersHostsRemotable = this.m_exprHost.ChartFormulaParametersHostsRemotable;

            if (this.m_chartFormulaParameters != null && chartFormulaParametersHostsRemotable != null)
            {
                for (int i = 0; i < this.m_chartFormulaParameters.Count; i++)
                {
                    ChartFormulaParameter chartFormulaParameter = this.m_chartFormulaParameters[i];
                    if (chartFormulaParameter != null && chartFormulaParameter.ExpressionHostID > -1)
                    {
                        chartFormulaParameter.SetExprHost(chartFormulaParametersHostsRemotable[chartFormulaParameter.ExpressionHostID], reportObjectModel);
                    }
                }
            }
        }
 public ChartFormulaParameter this[string name]
 {
     get
     {
         if (!this.m_chart.IsOldSnapshot)
         {
             for (int i = 0; i < this.Count; i++)
             {
                 AspNetCore.ReportingServices.ReportIntermediateFormat.ChartFormulaParameter chartFormulaParameter = this.m_derivedSeries.ChartDerivedSeriesDef.FormulaParameters[i];
                 if (string.CompareOrdinal(name, chartFormulaParameter.FormulaParameterName) == 0)
                 {
                     return(base[i]);
                 }
             }
         }
         return(null);
     }
 }
 public ChartFormulaParameter(ChartDerivedSeries chartDerivedSeries, AspNetCore.ReportingServices.ReportIntermediateFormat.ChartFormulaParameter chartFormulaParameterDef, Chart chart)
 {
     this.m_chartDerivedSeries       = chartDerivedSeries;
     this.m_chartFormulaParameterDef = chartFormulaParameterDef;
     this.m_chart = chart;
 }