예제 #1
0
 public IQuery Visit(NotQuery query)
 {
     return(new NotQuery(query.Query.Accept(this)));
 }
예제 #2
0
        public IQuery Visit(NotQuery query)
        {
            var modifiedSubquery = query.Query.Accept(this);

            return(modifiedSubquery == NullQuery.Instance ? NullQuery.Instance : new NotQuery(modifiedSubquery));
        }