Esempio n. 1
0
 public DataValue(RenderingContext renderingContext, object chartDataValue)
 {
     this.m_isChartValue     = true;
     this.m_name             = new ReportStringProperty();
     this.m_value            = new ReportVariantProperty(true);
     this.m_instance         = new ShimDataValueInstance(null, chartDataValue);
     this.m_renderingContext = renderingContext;
 }
Esempio n. 2
0
 public DataValue(IReportScope reportScope, RenderingContext renderingContext, AspNetCore.ReportingServices.ReportIntermediateFormat.DataValue dataValue, bool isChart, IInstancePath instancePath, string objectName)
 {
     this.m_isChartValue     = isChart;
     this.m_instancePath     = instancePath;
     this.m_dataValue        = dataValue;
     this.m_name             = new ReportStringProperty(dataValue.Name);
     this.m_value            = new ReportVariantProperty(dataValue.Value);
     this.m_instance         = new InternalDataValueInstance(reportScope, this);
     this.m_renderingContext = renderingContext;
     this.m_objectName       = objectName;
 }
Esempio n. 3
0
        public DataValue(RenderingContext renderingContext, AspNetCore.ReportingServices.ReportRendering.DataValue dataValue)
        {
            this.m_isChartValue = false;
            string name  = (dataValue != null) ? dataValue.Name : null;
            object value = (dataValue != null) ? dataValue.Value : null;

            this.m_name             = new ReportStringProperty(true, null, null);
            this.m_value            = new ReportVariantProperty(true);
            this.m_instance         = new ShimDataValueInstance(name, value);
            this.m_renderingContext = renderingContext;
        }