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