Пример #1
0
        public IResultSetFilter Instantiate(IRankingInfo rankingInfo, IEnumerable <IColumnDefinitionLight> columns)
        {
            var groupingFactory = new ByColumnGroupingFactory();
            var grouping        = groupingFactory.Instantiate(columns);

            var rankingFactory = new RankingFactory();
            var ranking        = rankingFactory.Instantiate(rankingInfo);

            return(new FilterGroupByFilter(ranking, grouping));
        }