示例#1
0
        public OrderByProcessor Instantiate(AggregationService aggregationService, AgentInstanceContext agentInstanceContext)
        {
            var orderByProcessor  = (OrderByProcessorImpl)_orderByProcessorFactory.Instantiate(aggregationService, agentInstanceContext);
            var rowLimitProcessor = _rowLimitProcessorFactory.Instantiate(agentInstanceContext);

            return(new OrderByProcessorOrderedLimit(orderByProcessor, rowLimitProcessor));
        }
        public OrderByProcessor Instantiate(AggregationService aggregationService, AgentInstanceContext agentInstanceContext)
        {
            RowLimitProcessor rowLimitProcessor = _rowLimitProcessorFactory.Instantiate(agentInstanceContext);

            return(new OrderByProcessorRowLimitOnly(rowLimitProcessor));
        }