All Questions
1 question
5
votes
3
answers
3k
views
Building a custom predicate to act as a filter using a foreach loop
I need to filter a list of documents by passing them to a custom filter that I'm struggling to build dynamically using a foreach loop :
var mainPredicate = PredicateBuilder.True<Document>();
//...