コード例 #1
0
 public void SortAndFilter(AggregateUpdateContext aggContext)
 {
     if (m_runtimeDataRegions != null)
     {
         m_runtimeDataRegions.SortAndFilter(aggContext);
     }
 }
        private void TraverseDataRegionScopedItems(ProcessingStages operation, ITraversalContext context)
        {
            switch (operation)
            {
            case ProcessingStages.SortAndFilter:
                m_dataRegionScopedItems.SortAndFilter((AggregateUpdateContext)context);
                break;

            case ProcessingStages.UpdateAggregates:
                m_dataRegionScopedItems.UpdateAggregates((AggregateUpdateContext)context);
                break;

            default:
                Global.Tracer.Assert(condition: false, "Unknown ProcessingStage for TraverseDataRegionScopedItems");
                break;
            }
        }
コード例 #3
0
        protected override void TraverseCellContents(ProcessingStages operation, AggregateUpdateContext context)
        {
            if (m_cellContents != null)
            {
                switch (operation)
                {
                case ProcessingStages.SortAndFilter:
                    m_cellContents.SortAndFilter(context);
                    break;

                case ProcessingStages.UpdateAggregates:
                    m_cellContents.UpdateAggregates(context);
                    break;

                default:
                    Global.Tracer.Assert(condition: false, "Invalid operation for TraverseCellContents.");
                    break;
                }
            }
        }
コード例 #4
0
        protected override void TraverseStaticContents(ProcessingStages operation, AggregateUpdateContext context)
        {
            if (m_groupScopedItems != null)
            {
                switch (operation)
                {
                case ProcessingStages.SortAndFilter:
                    m_groupScopedItems.SortAndFilter(context);
                    break;

                case ProcessingStages.UpdateAggregates:
                    m_groupScopedItems.UpdateAggregates(context);
                    break;

                default:
                    Global.Tracer.Assert(condition: false, "Unknown operation in TraverseStaticContents.");
                    break;
                }
            }
        }