Пример #1
0
        public IQuery Visit(AndQuery query)
        {
            var modifiedSubqueries = new List <IQuery>();

            foreach (var subQuery in query.Queries)
            {
                modifiedSubqueries.Add(subQuery.Accept(this));
            }
            return(new AndQuery(modifiedSubqueries));
        }