internal void ResolveDataSetTokenIDs(TokensHashtable dataSetTokenIDs) { if (dataSetTokenIDs != null && m_dataSetTokenIDs != null) { DrillthroughParameters drillthroughParameters = new DrillthroughParameters(); object obj = null; for (int i = 0; i < m_dataSetTokenIDs.Count; i++) { drillthroughParameters.Add(value: (m_dataSetTokenIDs[i] < 0) ? m_reportParameters.GetValue(i) : dataSetTokenIDs[m_dataSetTokenIDs[i]], key: m_reportParameters.GetKey(i)); } m_reportParameters = drillthroughParameters; } }
internal void ProcessDrillthroughAction(ReportProcessing.ProcessingContext processingContext, int ownerUniqueName, int index) { if (m_drillthroughReportName == null) { return; } Global.Tracer.Assert(m_drillthroughReportName.Type == ExpressionInfo.Types.Constant); if (m_drillthroughReportName.Value == null) { return; } DrillthroughParameters drillthroughParameters = null; if (m_drillthroughParameters != null) { ParameterValue parameterValue = null; for (int i = 0; i < m_drillthroughParameters.Count; i++) { parameterValue = m_drillthroughParameters[i]; if (parameterValue.Omit != null) { Global.Tracer.Assert(parameterValue.Omit.Type == ExpressionInfo.Types.Constant); if (parameterValue.Omit.BoolValue) { continue; } } Global.Tracer.Assert(parameterValue.Value.Type == ExpressionInfo.Types.Constant); if (drillthroughParameters == null) { drillthroughParameters = new DrillthroughParameters(); } drillthroughParameters.Add(parameterValue.Name, parameterValue.Value.Value); } } DrillthroughInformation drillthroughInfo = new DrillthroughInformation(m_drillthroughReportName.Value, drillthroughParameters, null); string drillthroughId = ownerUniqueName.ToString(CultureInfo.InvariantCulture) + ":" + index.ToString(CultureInfo.InvariantCulture); processingContext.DrillthroughInfo.AddDrillthrough(drillthroughId, drillthroughInfo); }
internal DrillthroughInfo(string reportName, DrillthroughParameters parameters) { m_reportName = reportName; m_reportParameters = parameters; }
internal DrillthroughInformation(string reportName, DrillthroughParameters reportParameters, IntList dataSetTokenIDs) { m_reportName = reportName; m_reportParameters = reportParameters; m_dataSetTokenIDs = dataSetTokenIDs; }