public CustomReportItemCellInstance(int rowIndex, int colIndex, CustomReportItem definition, ReportProcessing.ProcessingContext pc) { this.m_rowIndex = rowIndex; this.m_columnIndex = colIndex; Global.Tracer.Assert(definition != null && definition.DataRowCells != null && rowIndex < definition.DataRowCells.Count && colIndex < definition.DataRowCells[rowIndex].Count && 0 < definition.DataRowCells[rowIndex][colIndex].Count); DataValueCRIList dataValueCRIList = definition.DataRowCells[rowIndex][colIndex]; Global.Tracer.Assert(null != dataValueCRIList); this.m_dataValueInstances = dataValueCRIList.EvaluateExpressions(definition.ObjectType, definition.Name, null, dataValueCRIList.RDLRowIndex, dataValueCRIList.RDLColumnIndex, pc); Global.Tracer.Assert(null != this.m_dataValueInstances); }
public new DataValueCRIList DeepClone(InitializationContext context) { int count = this.Count; DataValueCRIList dataValueCRIList = new DataValueCRIList(count); dataValueCRIList.RDLColumnIndex = this.m_rdlColumnIndex; dataValueCRIList.RDLRowIndex = this.m_rdlRowIndex; for (int i = 0; i < count; i++) { dataValueCRIList.Add(base[i].DeepClone(context)); } return(dataValueCRIList); }