コード例 #1
0
        protected override void InitializeGroupScopedItems(Microsoft.ReportingServices.ReportIntermediateFormat.ReportHierarchyNode member, ref DataActions innerDataAction)
        {
            List <Microsoft.ReportingServices.ReportIntermediateFormat.ReportItem> groupScopedContents = GetGroupScopedContents(member);

            if (groupScopedContents != null)
            {
                if (m_groupScopedItems == null)
                {
                    m_groupScopedItems = new RuntimeRICollection(groupScopedContents.Count);
                }
                m_groupScopedItems.AddItems(m_selfReference, groupScopedContents, ref innerDataAction, m_odpContext);
            }
        }
コード例 #2
0
        protected override void ConstructCellContents(Cell cell, ref DataActions dataAction)
        {
            List <Microsoft.ReportingServices.ReportIntermediateFormat.ReportItem> cellContents = GetCellContents(cell);

            if (cellContents != null)
            {
                m_owner.Value().OdpContext.TablixProcessingScalabilityCache.AllocateAndPin((RuntimeCell)this, m_outerGroupDynamicIndex);
                if (m_cellContents == null)
                {
                    m_cellContents = new RuntimeRICollection(cellContents.Count);
                }
                m_cellContents.AddItems(m_selfReference, cellContents, ref dataAction, m_owner.Value().OdpContext);
            }
        }