Exemplo n.º 1
0
 internal List <string> GetFieldsUsedInValues()
 {
     if (!m_fieldsUsedInValuesEvaluated)
     {
         m_fieldsUsedInValuesEvaluated = true;
         Microsoft.ReportingServices.ReportIntermediateFormat.ChartDataPoint dataPointDef = m_chartDataPointValuesDef.ChartDataPoint.DataPointDef;
         if (dataPointDef.Action != null && dataPointDef.Action.TrackFieldsUsedInValueExpression)
         {
             m_fieldsUsedInValues = new List <string>();
             ObjectModelImpl reportObjectModel = m_chartDataPointValuesDef.ChartDef.RenderingContext.OdpContext.ReportObjectModel;
             reportObjectModel.ResetFieldsUsedInExpression();
             ReportVariantProperty x = m_chartDataPointValuesDef.X;
             if (x != null && x.IsExpression)
             {
                 _ = X;
             }
             x = m_chartDataPointValuesDef.Y;
             if (x != null && x.IsExpression)
             {
                 _ = Y;
             }
             x = m_chartDataPointValuesDef.Size;
             if (x != null && x.IsExpression)
             {
                 _ = Size;
             }
             x = m_chartDataPointValuesDef.High;
             if (x != null && x.IsExpression)
             {
                 _ = High;
             }
             x = m_chartDataPointValuesDef.Low;
             if (x != null && x.IsExpression)
             {
                 _ = Low;
             }
             x = m_chartDataPointValuesDef.Start;
             if (x != null && x.IsExpression)
             {
                 _ = Start;
             }
             x = m_chartDataPointValuesDef.End;
             if (x != null && x.IsExpression)
             {
                 _ = End;
             }
             x = m_chartDataPointValuesDef.Mean;
             if (x != null && x.IsExpression)
             {
                 _ = Mean;
             }
             x = m_chartDataPointValuesDef.Median;
             if (x != null && x.IsExpression)
             {
                 _ = Median;
             }
             reportObjectModel.AddFieldsUsedInExpression(m_fieldsUsedInValues);
         }
     }
     return(m_fieldsUsedInValues);
 }
Exemplo n.º 2
0
 public List <string> GetFieldsUsedInValues()
 {
     if (!this.m_fieldsUsedInValuesEvaluated)
     {
         this.m_fieldsUsedInValuesEvaluated = true;
         AspNetCore.ReportingServices.ReportIntermediateFormat.ChartDataPoint dataPointDef = this.m_chartDataPointValuesDef.ChartDataPoint.DataPointDef;
         if (dataPointDef.Action != null && dataPointDef.Action.TrackFieldsUsedInValueExpression)
         {
             this.m_fieldsUsedInValues = new List <string>();
             ObjectModelImpl reportObjectModel = this.m_chartDataPointValuesDef.ChartDef.RenderingContext.OdpContext.ReportObjectModel;
             reportObjectModel.ResetFieldsUsedInExpression();
             ReportVariantProperty x = this.m_chartDataPointValuesDef.X;
             if (x != null && x.IsExpression)
             {
                 object x2 = this.X;
             }
             x = this.m_chartDataPointValuesDef.Y;
             if (x != null && x.IsExpression)
             {
                 object y = this.Y;
             }
             x = this.m_chartDataPointValuesDef.Size;
             if (x != null && x.IsExpression)
             {
                 object size = this.Size;
             }
             x = this.m_chartDataPointValuesDef.High;
             if (x != null && x.IsExpression)
             {
                 object high = this.High;
             }
             x = this.m_chartDataPointValuesDef.Low;
             if (x != null && x.IsExpression)
             {
                 object low = this.Low;
             }
             x = this.m_chartDataPointValuesDef.Start;
             if (x != null && x.IsExpression)
             {
                 object start = this.Start;
             }
             x = this.m_chartDataPointValuesDef.End;
             if (x != null && x.IsExpression)
             {
                 object end = this.End;
             }
             x = this.m_chartDataPointValuesDef.Mean;
             if (x != null && x.IsExpression)
             {
                 object mean = this.Mean;
             }
             x = this.m_chartDataPointValuesDef.Median;
             if (x != null && x.IsExpression)
             {
                 object median = this.Median;
             }
             reportObjectModel.AddFieldsUsedInExpression(this.m_fieldsUsedInValues);
         }
     }
     return(this.m_fieldsUsedInValues);
 }