public void AddDrillthrough(string drillthroughId, DrillthroughInformation drillthroughInfo) { if (this.m_drillthroughHashtable == null) { this.m_drillthroughHashtable = new DrillthroughHashtable(); } this.m_drillthroughHashtable.Add(drillthroughId, drillthroughInfo); }
public void ProcessDrillthroughAction(ReportProcessing.ProcessingContext processingContext, int ownerUniqueName, int index) { if (this.m_drillthroughReportName != null) { Global.Tracer.Assert(this.m_drillthroughReportName.Type == ExpressionInfo.Types.Constant); if (this.m_drillthroughReportName.Value != null) { DrillthroughParameters drillthroughParameters = null; if (this.m_drillthroughParameters != null) { ParameterValue parameterValue = null; for (int i = 0; i < this.m_drillthroughParameters.Count; i++) { parameterValue = this.m_drillthroughParameters[i]; if (parameterValue.Omit != null) { Global.Tracer.Assert(parameterValue.Omit.Type == ExpressionInfo.Types.Constant); if (!parameterValue.Omit.BoolValue) { goto IL_007c; } continue; } goto IL_007c; IL_007c: 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(this.m_drillthroughReportName.Value, drillthroughParameters, null); string drillthroughId = ownerUniqueName.ToString(CultureInfo.InvariantCulture) + ":" + index.ToString(CultureInfo.InvariantCulture); processingContext.DrillthroughInfo.AddDrillthrough(drillthroughId, drillthroughInfo); } } }
public void Add(string drillthroughId, DrillthroughInformation drillthroughInfo) { base.m_hashtable.Add(drillthroughId, drillthroughInfo); }