public void Visit(MatchNode node) { var predicate = Expression.Lambda <Func <LogItem, bool> >(node.Predicate(), QueryFactory.ItemVariable).Compile(); Items = Items.Where(predicate); }